#21171F Hex Color

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

Hex color #21171f graphic
#21171f is a nearly black, dusty magenta with a muted, ink-like quality. Its extreme darkness creates a moody, serious atmosphere perfect for high-contrast web backgrounds. Because it offers a 17.4:1 contrast ratio against white, it remains legible even with fine typography. Use this shade as a sophisticated alternative to pure black when you need to soften a design without losing depth.

Questions about #21171f

What is #21171f in RGB, HSL and CMYK?
In RGB, #21171f is rgb(33, 23, 31), in HSL hsl(312, 18%, 11%) and in CMYK 0%, 30%, 6%, 87%.
Where should I use #21171f in a design layout?
#21171f works best as a sophisticated background replacement for pure black, especially in minimalist web design. It adds subtle, ink-like warmth to dark mode interfaces without sacrificing the high-contrast readability required for fine typography and clean, modern layouts.
What colors pair well with #21171f?
This deep magenta shade pairs beautifully with muted cream or soft off-white tones to soften the overall contrast. You can also introduce gold or muted bronze accents to highlight the subtle magenta undertones and create a premium, serious visual atmosphere.
Is #21171f readable on white or black?
#21171f has a 17.39:1 contrast ratio on white and 1.20: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.