#18161B Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #18161b graphic
This near-black shade carries a faint, ashy violet undertone that softens the harshness of pure black. As a background for dark mode interfaces, #18161b provides a moody, sophisticated alternative to charcoal. It pairs effectively with metallic accents or muted pastels, which stand out against its deep saturation. The hex code for this color is #18161b, and it offers enough contrast for white text to remain legible.

Questions about #18161b

What is #18161b in RGB, HSL and CMYK?
In RGB, #18161b is rgb(24, 22, 27), in HSL hsl(264, 10%, 10%) and in CMYK 11%, 19%, 0%, 89%. Browse more shades of black with names and hex codes.
How does the violet undertone in #18161b affect design choices?
The subtle violet undertone in #18161b prevents it from looking flat or industrial like pure black. It feels softer on the eyes, making it an excellent choice for backgrounds where you want a moody atmosphere without feeling harsh or clinical.
What colors pair well with #18161b?
Because #18161b is such a deep, neutral base, it serves as an excellent anchor for high-contrast accents. Try pairing it with muted pastels or sharp metallic tones like silver or champagne to make elements pop against the dark, saturated surface.
Is #18161b readable on white or black?
#18161b has a 17.95:1 contrast ratio on white and 1.16:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.