#1F1A17 Hex Color
A rich charcoal with earthy warmth

This near-black charcoal carries strong, earthy warmth rather than stark coolness. As a grounding base, #1f1a17 provides a sophisticated alternative to pure black, offering better readability for small white text in dark mode interfaces. Because of its extreme depth, pair it with muted metallics or soft creams to keep designs from feeling flat. The hex code for this color is #1f1a17.
Questions about #1f1a17
What is #1f1a17 in RGB, HSL and CMYK?
In RGB, #1f1a17 is rgb(31, 26, 23), in HSL hsl(23, 15%, 11%) and in CMYK 0%, 16%, 26%, 88%.
Why use #1f1a17 instead of pure black?
Using #1f1a17 offers a softer, more sophisticated look than harsh, pure black without sacrificing contrast. Its subtle earthy warmth creates a more comfortable visual experience for reading long-form text in dark mode interfaces while remaining grounded and professional.
What color palettes pair well with #1f1a17?
Pair #1f1a17 with soft creams, muted metallics, or dusty rose to balance its extreme depth. Because it is a near-black charcoal, it functions best as a dominant anchor color when contrasted against lighter, low-saturation tones rather than vibrant primary colors.
Is #1f1a17 readable on white or black?
#1f1a17 has a 17.23:1 contrast ratio on white and 1.21: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.