#28221F Hex Color

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

Hex color #28221f graphic
This extremely dark, desaturated brown leans heavily into black, creating a moody and serious atmosphere. The hex code #28221f works best as a primary background color for modern dark mode interfaces, offering enough contrast to make white text perfectly legible. Because of its dusty, ashy character, pair it with muted metallics or dusty rose to avoid it appearing muddy in your final design.

Questions about #28221f

What is #28221f in RGB, HSL and CMYK?
In RGB, #28221f is rgb(40, 34, 31), in HSL hsl(20, 13%, 14%) and in CMYK 0%, 15%, 22%, 84%. Browse more shades of black with names and hex codes.
Is #28221f a better choice than pure black for web backgrounds?
Yes, #28221f is often superior to pure black because it offers a softer, more organic feel while maintaining high contrast for white text. Using this deep, desaturated tone reduces eye strain in dark mode interfaces compared to standard `#000000` backgrounds.
Which color palettes work best with #28221f?
This dark tone anchors bright, dusty accents perfectly without appearing muddy. Try pairing #28221f with muted gold for a luxury feel, or use dusty rose to add a gentle, warm contrast to its otherwise cold, serious character.
Is #28221f readable on white or black?
#28221f has a 15.68:1 contrast ratio on white and 1.33: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.