Color #402d35
A muted dark pink.
Conversions
#402d35
rgb(64, 45, 53)
hsl(334.7, 17.4%, 21.4%)
hsv(334.7, 29.7%, 25.1%)
cmyk(0%, 29.7%, 17.2%, 74.9%)
lab(20.92, 10.25, -1.68)
lch(20.92, 10.39, 350.69)
oklch(32.2%, 0.0307, 351.95)
hwb(334.7, 17.6%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (12.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393833 · ΔE 14
Deuteranopia
#3a3b33 · ΔE 17.1
Tritanopia
#3f3231 · ΔE 5.9
Achromatopsia
#323232 · ΔE 11.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402d35;
bg-[#402d35]
Related colors
Frequently asked questions
#402d35 (#402d35) is rgb(64, 45, 53) in RGB.
No, #402d35 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 #402d35, or check how it holds up for accessibility.