#1A1717 Hex Color

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

Hex color #1a1717 graphic
#1a1717 is an ultra-dark, ashy neutral that sits just above absolute black. This softer tone works as an ideal background for dark mode interfaces. White text maintains excellent readability against this deep shade, providing high contrast without the visual harshness of pure black. The hex code for this moody, practical color is #1a1717.

Questions about #1a1717

What is #1a1717 in RGB, HSL and CMYK?
In RGB, #1a1717 is rgb(26, 23, 23), in HSL hsl(0, 6%, 10%) and in CMYK 0%, 12%, 12%, 90%.
Is #1a1717 better than pure black for website backgrounds?
#1a1717 is often superior because it reduces eye strain and visual vibration that pure black can cause against bright text. This deep, ashy neutral provides the high contrast users expect from dark mode while feeling significantly more natural and less aggressive on screens.
What colors pair well with #1a1717?
This color acts as a versatile canvas that anchors vibrant accents effectively. Try pairing it with muted gold or soft sage to create a sophisticated, premium look that feels intentional and balanced rather than strictly monochromatic or industrial.
Is #1a1717 readable on white or black?
#1a1717 has a 17.81:1 contrast ratio on white and 1.17: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.