Color #cd51af
A moderately saturated medium magenta.
Conversions
#cd51af
rgb(205, 81, 175)
hsl(314.5, 55.4%, 56.1%)
hsv(314.5, 60.5%, 80.4%)
cmyk(0%, 60.5%, 14.6%, 19.6%)
lab(53.99, 59.62, -25.95)
lch(53.99, 65.02, 336.48)
oklch(62.8%, 0.189, 338.23)
hwb(314.5, 31.8%, 19.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.39:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a6a59f · ΔE 33.5
Deuteranopia
#acb39a · ΔE 47.6
Tritanopia
#c9908c · ΔE 24.7
Achromatopsia
#818181 · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cd51af;
bg-[#cd51af]
Related colors
Frequently asked questions
#cd51af (#cd51af) is rgb(205, 81, 175) in RGB.
No, #cd51af 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 #cd51af, or check how it holds up for accessibility.