Color #402a2d
A muted dark red.
Conversions
#402a2d
rgb(64, 42, 45)
hsl(351.8, 20.8%, 20.8%)
hsv(351.8, 34.4%, 25.1%)
cmyk(0%, 34.4%, 29.7%, 74.9%)
lab(19.78, 10.76, 2.18)
lch(19.78, 10.98, 11.45)
oklch(31.3%, 0.0331, 10.09)
hwb(351.8, 16.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38372c · ΔE 16.8
Deuteranopia
#393a2c · ΔE 19.3
Tritanopia
#3f2c2c · ΔE 2.2
Achromatopsia
#303030 · ΔE 11.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402a2d;
bg-[#402a2d]
Related colors
Frequently asked questions
#402a2d (#402a2d) is rgb(64, 42, 45) in RGB.
No, #402a2d 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 #402a2d, or check how it holds up for accessibility.