#1F181C Hex Color

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

Hex color #1f181c graphic
This near-black shade feels like a dusty, muted magenta with heavy brown undertones. It projects a moody, somber atmosphere that works best as a dark background for neon or high-contrast UI elements. Because it is so dark, white text remains highly legible against the hex code #1f181c. It creates a serious, seductive anchor in fashion or cosmetic designs when paired with lighter, metallic gold accents.

Questions about #1f181c

What is #1f181c in RGB, HSL and CMYK?
In RGB, #1f181c is rgb(31, 24, 28), in HSL hsl(326, 13%, 11%) and in CMYK 0%, 23%, 10%, 88%.
Why is #1f181c effective as a background color?
It acts as a softer, more sophisticated alternative to absolute black, reducing eye strain while keeping white text legible. Using this near-black allows vibrant UI elements like neons or gold accents to pop without competing for visual attention.
What color schemes work best with #1f181c?
The best palettes for #1f181c rely on high contrast to highlight its subtle magenta undertone. Pairing it with metallic gold or crisp, bright whites creates a luxurious look, while muted teals or soft lavender accents can emphasize its moody, dusty character.
Is #1f181c readable on white or black?
#1f181c has a 17.41:1 contrast ratio on white and 1.20: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.