#1F2121 Hex Color

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

Hex color #1f2121 graphic
Darker than charcoal and almost black, this deep grey reads like soot on slate. The hex code #1f2121 works best as a dominant base for dark mode interfaces and moody layouts, since white text on it reaches about 16.2:1 contrast, well past WCAG AA. Its muted, colorless character suits typography and minimal product design, though flat grey surfaces benefit from a warm accent. Pair it with terracotta or amber to keep it from feeling lifeless.

Questions about #1f2121

What is #1f2121 in RGB, HSL and CMYK?
In RGB, #1f2121 is rgb(31, 33, 33), in HSL hsl(180, 3%, 13%) and in CMYK 6%, 0%, 0%, 87%. Browse more shades of black with names and hex codes.
What text color works best on #1f2121?
White text on #1f2121 reaches roughly 16.2:1 contrast, far above the 4.5:1 WCAG AA minimum, so small body text stays readable. Light grey text also passes, though pure white gives the sharpest result.
What colors pair well with #1f2121?
Warm accents like terracotta or amber cut through its flat grey and keep large dark surfaces from feeling dull. Muted sage offers a softer, cooler pairing.
Is #1f2121 readable on white or black?
#1f2121 has a 16.18:1 contrast ratio on white and 1.29: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.