Color #cd40b4
A moderately saturated medium magenta.
Conversions
#cd40b4
rgb(205, 64, 180)
hsl(310.6, 58.5%, 52.7%)
hsv(310.6, 68.8%, 80.4%)
cmyk(0%, 68.8%, 12.2%, 19.6%)
lab(51.77, 67.1, -32.3)
lch(51.77, 74.47, 334.3)
oklch(61.3%, 0.2151, 335.85)
hwb(310.6, 25.1%, 19.6%)
Harmony colors
Accessibility
Black text reads better on this background (4.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a3a2a1 · ΔE 31.4
Deuteranopia
#aab29d · ΔE 48.7
Tritanopia
#c9908c · ΔE 27.5
Achromatopsia
#7b7b7b · ΔE 28
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cd40b4;
bg-[#cd40b4]
Related colors
Frequently asked questions
#cd40b4 (#cd40b4) is rgb(205, 64, 180) in RGB.
No, #cd40b4 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 #cd40b4, or check how it holds up for accessibility.