#1A1817 Hex Color

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

Hex color #1a1817 graphic
This near-black charcoal offers a sophisticated, grounding alternative to pure black. Because it remains highly readable with white text, #1a1817 works effectively as a dark mode UI background or a moody footer element. It anchors designs without the starkness of absolute darkness, providing a stable, neutral base that pairs beautifully with muted gold or warm terracotta accents.

Questions about #1a1817

What is #1a1817 in RGB, HSL and CMYK?
In RGB, #1a1817 is rgb(26, 24, 23), in HSL hsl(20, 6%, 10%) and in CMYK 0%, 8%, 12%, 90%. Browse more shades of black with names and hex codes.
Why choose #1a1817 over pure black for a UI design?
Using #1a1817 creates a softer, more sophisticated look that reduces eye strain compared to the harsh contrast of pure black. It feels more natural on digital screens while still providing the deep, anchoring weight required for modern web design layouts.
What colors complement this charcoal shade?
Because #1a1817 acts as a neutral base, it pairs beautifully with warm, earthy tones like terracotta or soft metallics like muted gold. These combinations prevent the design from feeling too cold while maintaining the high contrast needed for readability.
Is #1a1817 readable on white or black?
#1a1817 has a 17.69: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.