#1A1F1D Hex Color

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

Hex color #1a1f1d graphic
This desaturated, near-black shade provides a soft alternative to harsh, pure black. The hex code #1a1f1d works best as a primary background in dark mode designs, where white text maintains excellent readability. Pair it with cool, muted metallics rather than bright colors to maintain a sophisticated mood. Because it is quite heavy, avoid using it in cramped layouts where it might overwhelm the content.

Questions about #1a1f1d

What is #1a1f1d in RGB, HSL and CMYK?
In RGB, #1a1f1d is rgb(26, 31, 29), in HSL hsl(156, 9%, 11%) and in CMYK 16%, 0%, 6%, 88%. Browse more shades of black with names and hex codes.
Is #1a1f1d better for web design than pure black?
Yes, #1a1f1d provides a gentler, more sophisticated visual experience that reduces eye strain compared to harsh, pure black. It offers a softer, modern aesthetic for dark mode backgrounds while ensuring white text remains crisp and highly readable for users.
Which colors pair well with #1a1f1d in a palette?
Pair #1a1f1d with cool-toned neutrals or muted metallics to maintain a professional, high-end mood. It creates excellent contrast when placed next to slate or silver, though you should avoid highly saturated warm colors that may clash with its desaturated, earthy undertone.
Is #1a1f1d readable on white or black?
#1a1f1d has a 16.69:1 contrast ratio on white and 1.25: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.