Color #402c26
A muted dark red.
Conversions
#402c26
rgb(64, 44, 38)
hsl(13.8, 25.5%, 20%)
hsv(13.8, 40.6%, 25.1%)
cmyk(0%, 31.2%, 40.6%, 74.9%)
lab(20.17, 8.28, 7.55)
lch(20.17, 11.21, 42.36)
oklch(31.5%, 0.0317, 37.45)
hwb(13.8, 14.9%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383828 · ΔE 15.4
Deuteranopia
#393b28 · ΔE 17.5
Tritanopia
#3f2929 · ΔE 3.7
Achromatopsia
#313131 · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402c26;
bg-[#402c26]
Related colors
Frequently asked questions
#402c26 (#402c26) is rgb(64, 44, 38) in RGB.
No, #402c26 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #402c26, or check how it holds up for accessibility.