#1F1E1C Hex Color

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

Hex color #1f1e1c graphic
This near-black shade feels grounded and serious, functioning as a practical alternative to pure black in interface design. Because it lacks harsh contrast, #1f1e1c works well as a dominant background for minimal layouts. It pairs beautifully with soft creams or desaturated terracottas. White text remains highly readable on this surface, making it a reliable choice for dark mode UI elements or moody typography.

Questions about #1f1e1c

What is #1f1e1c in RGB, HSL and CMYK?
In RGB, #1f1e1c is rgb(31, 30, 28), in HSL hsl(40, 5%, 12%) and in CMYK 0%, 3%, 10%, 88%.
Why choose #1f1e1c over pure black for interface design?
Using #1f1e1c instead of absolute black reduces visual strain by softening the contrast against bright white text. This makes it an ideal choice for dark mode layouts where readability and a modern, less jarring appearance are the primary goals.
What colors pair best with #1f1e1c?
This near-black tone works best with earthy or desaturated colors, such as soft creams or muted terracottas. These pairings create a balanced, professional aesthetic that feels more inviting and organic than standard monochromatic black and white combinations.
Is #1f1e1c readable on white or black?
#1f1e1c has a 16.65:1 contrast ratio on white and 1.26: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.