#21201F Hex Color

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

Hex color #21201f graphic
This near-black charcoal feels sophisticated and grounded without the harshness of pure black. Because of its extremely low lightness, the hex code #21201f serves as an excellent UI background, offering plenty of contrast for white typography. It provides a 16.3:1 contrast ratio against white text, making it a stable choice for modern dark mode interfaces.

Questions about #21201f

What is #21201f in RGB, HSL and CMYK?
In RGB, #21201f is rgb(33, 32, 31), in HSL hsl(30, 3%, 13%) and in CMYK 0%, 3%, 6%, 87%.
Why choose #21201f instead of pure black for dark mode?
Using #21201f instead of pure black significantly reduces eye strain in dark mode interfaces by lowering the extreme contrast that can cause visual vibrations. This near-black charcoal maintains a professional, high-end feel while ensuring white text remains crisp and highly legible for users.
Which colors pair best with #21201f?
This shade works beautifully with muted, desaturated tones or sharp, clinical whites to maintain a balanced UI palette. It provides a stable, unobtrusive foundation, allowing accent colors like a muted sage or a soft terracotta to stand out without competing for visual dominance.
Is #21201f readable on white or black?
#21201f has a 16.26: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.