#212222 Hex Color

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

Hex color #212222 graphic
This near-black grey feels somber and grounded, offering a sophisticated alternative to pure black. The hex code #212222 works exceptionally well as a primary UI background or for typography where you need high contrast without harshness. It pairs perfectly with metallic silver or muted, warm earth tones, maintaining excellent accessibility for white text at a 16.0:1 ratio.

Questions about #212222

What is #212222 in RGB, HSL and CMYK?
In RGB, #212222 is rgb(33, 34, 34), in HSL hsl(180, 1%, 13%) and in CMYK 3%, 0%, 0%, 87%. Browse more shades of black with names and hex codes.
Is #212222 a better choice for website text than pure black?
Using #212222 instead of pure black significantly reduces eye strain, as it provides high contrast without the harsh visual vibration of absolute darkness. It maintains excellent readability on white backgrounds while feeling more natural and integrated into modern interface designs.
What colors pair best with the #212222 palette?
This near-black works beautifully alongside silver to create a premium, metallic aesthetic or sage for a balanced, earthy composition. Because it is a neutral base, it also anchors vibrant accent colors like mustard yellow or deep terracotta without competing for visual dominance.
Is #212222 readable on white or black?
#212222 has a 15.95:1 contrast ratio on white and 1.31: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.