#1F1F1C Hex Color

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

Hex color #1f1f1c graphic
#1f1f1c is a dark, muted gray with a subtle warm, ashy undertone. Its low lightness creates a serious, restrained mood suited to moody branding, dark interfaces, architecture, and minimal layouts. Use this hex code as a dominant background with white typography, which reaches about 16.5:1 contrast and supports readable body text.

Questions about #1f1f1c

What is #1f1f1c in RGB, HSL and CMYK?
In RGB, #1f1f1c is rgb(31, 31, 28), in HSL hsl(60, 5%, 12%) and in CMYK 0%, 0%, 10%, 88%. Browse more shades of black with names and hex codes.
Does #1f1f1c work as a background for white text?
Yes, #1f1f1c provides approximately 16.5:1 contrast with white, comfortably exceeding WCAG AA and AAA thresholds for normal text and supporting readable body copy in dark interfaces when used as the background.
Is #1f1f1c a warm or cool gray?
#1f1f1c reads as a warm gray because its slightly yellow, ashy bias softens the near-black base, making it feel more grounded and less stark than a neutral or blue-leaning charcoal.
What colors pair well with #1f1f1c?
#1f1f1c pairs well with warm off-whites, muted sage, terracotta, and aged brass, which add contrast without breaking its restrained mood across interfaces, layouts, and identity systems while preserving a minimal feel. Use brighter accents sparingly so the dark gray remains the visual anchor.
Is #1f1f1c readable on white or black?
#1f1f1c has a 16.52:1 contrast ratio on white and 1.27: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.