#18181A Hex Color

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

Hex color #18181a graphic
#18181a acts as a softer, more approachable alternative to pure black. This near-black charcoal maintains excellent readability with white text, making it a reliable choice for dark mode UI backgrounds. Use it to build moody, professional designs that avoid the harshness of a true black. The hex code for this neutral, stable tone is #18181a.

Questions about #18181a

What is #18181a in RGB, HSL and CMYK?
In RGB, #18181a is rgb(24, 24, 26), in HSL hsl(240, 4%, 10%) and in CMYK 8%, 8%, 0%, 90%.
Is #18181a better than pure black for website backgrounds?
#18181a is widely preferred over pure black because it reduces eye strain and prevents the harsh contrast that makes text jitter on screen. This charcoal provides enough depth to anchor a layout while remaining soft enough to feel premium.
What colors pair best with #18181a?
Use high-contrast white or light grays for text to maintain accessibility, or pair it with soft, muted accent colors like sage or dusty blue for a calm, professional interface. These pairings create a balanced, modern visual hierarchy.
Is #18181a readable on white or black?
#18181a has a 17.73:1 contrast ratio on white and 1.18: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.