#402817 Hex Color

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

Hex color #402817 graphic
Far from rich chocolate, #402817 is a dark, dusty brown with almost no saturation left. That ashy quality gives it a gloomy, grounded feel that suits coffee, tobacco, and vintage branding. It works best as a dark base for moody layouts, since white text on it reaches about 13.7:1 contrast. Watch for muddiness against bright accents; warm creams or terracotta keep it honest.

Questions about #402817

What is #402817 in RGB, HSL and CMYK?
In RGB, #402817 is rgb(64, 40, 23), in HSL hsl(25, 47%, 17%) and in CMYK 0%, 38%, 64%, 75%. Browse more shades of brown with names and hex codes.
What colors pair well with #402817?
Muted terracotta, sage, and warm cream all flatter this dark brown without fighting its low saturation. Use bright accents sparingly, since strong colors can make #402817 read muddy by comparison.
Is #402817 readable on white or black?
#402817 has a 13.69:1 contrast ratio on white and 1.53: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.