#402D2A Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, matte shade leans heavily into dark brown with subtle crimson undertones. It functions best as a grounding neutral rather than a primary color, offering a somber alternative to pure black. Pair it with soft cream or muted gold to cut the gloom. Because it offers high contrast, white text remains readable, which makes the hex code #402d2a useful for dark mode layouts.
Questions about #402d2a
What is #402d2a in RGB, HSL and CMYK?
In RGB, #402d2a is rgb(64, 45, 42), in HSL hsl(8, 21%, 21%) and in CMYK 0%, 30%, 34%, 75%.
What colors pair best with #402d2a?
Is #402d2a a good choice for text in dark mode?
Using #402d2a as a background is ideal for accessibility because its high contrast allows white or light-toned text to stand out clearly. It provides a softer, more organic feel than pure black while maintaining excellent legibility for long-form content.
Is #402d2a readable on white or black?
#402d2a has a 12.90:1 contrast ratio on white and 1.62: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.