#402021 Hex Color

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

Hex color #402021 graphic
#402021 is a deeply muted, inky red that leans heavily into brown. Because it sits on the edge of black, it works as a sophisticated base for high-contrast white text in dark mode interfaces. Use this shade sparingly, as it can appear muddy when applied to large, flat surfaces. The hex code for this serious, grounded tone is #402021.

Questions about #402021

What is #402021 in RGB, HSL and CMYK?
In RGB, #402021 is rgb(64, 32, 33), in HSL hsl(358, 33%, 19%) and in CMYK 0%, 50%, 48%, 75%. Browse more shades of red with names and hex codes.
How can #402021 be used effectively in UI design?
#402021 functions best as a dark background color that provides a softer, more organic alternative to pure black. It offers high contrast for white or cream-colored text while maintaining a sophisticated, intentional look that reduces eye strain in dark mode environments.
What colors pair well with #402021 for a balanced palette?
Pair #402021 with lighter, neutral tones to keep designs legible and airy. Soft accents like cream or pale sage ground this dark, moody red effectively without overwhelming the visual space, preventing the final output from appearing too muddy or flat.
Is #402021 readable on white or black?
#402021 has a 14.51:1 contrast ratio on white and 1.44: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.