#1F2122 Hex Color

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

Hex color #1f2122 graphic
Not quite black, this dark grey carries a faint cool undertone that keeps it from feeling flat. The hex code #1f2122 reads serious and restrained, which suits dark mode interfaces, moody layouts, and minimal typography. It performs best as a dominant base, where white text hits a 16.2:1 contrast ratio. Pair it with warm accents like amber to offset the chill.

Questions about #1f2122

What is #1f2122 in RGB, HSL and CMYK?
In RGB, #1f2122 is rgb(31, 33, 34), in HSL hsl(200, 5%, 13%) and in CMYK 9%, 3%, 0%, 87%.
Is #1f2122 a good background color for text?
White text on #1f2122 reaches about 16.2:1 contrast, well above the 4.5:1 that WCAG AA requires for body copy. Any light text color will read clearly against it, which is why it suits dark interfaces.
What colors pair well with #1f2122?
Warm accents like amber or terracotta counter its cool, ashy undertone and keep large grey surfaces from feeling cold. Muted blues also sit comfortably beside it.
Is #1f2122 readable on white or black?
#1f2122 has a 16.16: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.