#28211B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This desaturated, near-black brown carries a heavy, serious weight. Because it sits so close to black, #28211b functions best as a background for dark-mode UI. It provides excellent contrast for white text, keeping your designs readable. To avoid a muddy look, pair this hex code with soft, warm creams rather than bright whites. Use it to build a sophisticated, grounded aesthetic for artisan or food branding.
Questions about #28211b
What is #28211b in RGB, HSL and CMYK?
In RGB, #28211b is rgb(40, 33, 27), in HSL hsl(28, 19%, 13%) and in CMYK 0%, 18%, 33%, 84%. Browse more shades of black with names and hex codes.
Why use #28211b instead of standard black in UI design?
#28211b acts as a softer, more organic alternative to pure black, reducing eye strain and harsh contrast in digital interfaces. It maintains a grounded, premium aesthetic that feels less artificial than pitch-black backgrounds, especially when paired with cream text.
What colors pair well with the #28211b hex code?
Is #28211b readable on white or black?
#28211b has a 15.86:1 contrast ratio on white and 1.32: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.