Color #cd0097
A vivid, highly saturated medium magenta.
Conversions
#cd0097
rgb(205, 0, 151)
hsl(315.8, 100%, 40.2%)
hsv(315.8, 100%, 80.4%)
cmyk(0%, 100%, 26.3%, 19.6%)
lab(45.93, 76.36, -24.21)
lch(45.93, 80.11, 342.41)
oklch(56.6%, 0.2413, 344.45)
hwb(315.8, 0%, 19.6%)
Harmony colors
Accessibility
White text reads better on this background (5.19:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9f9e85 · ΔE 48.5
Deuteranopia
#a6af80 · ΔE 61.1
Tritanopia
#c87470 · ΔE 26
Achromatopsia
#6d6d6d · ΔE 28.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cd0097;
bg-[#cd0097]
Related colors
Frequently asked questions
#cd0097 (#cd0097) is rgb(205, 0, 151) in RGB.
No, #cd0097 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 #cd0097, or check how it holds up for accessibility.