Color #cc00a6
A vivid, highly saturated medium magenta.
Conversions
#cc00a6
rgb(204, 0, 166)
hsl(311.2, 100%, 40%)
hsv(311.2, 100%, 80%)
cmyk(0%, 100%, 18.6%, 20%)
lab(46.44, 77.93, -32.42)
lch(46.44, 84.4, 337.41)
oklch(57.2%, 0.2492, 339.32)
hwb(311.2, 0%, 20%)
Harmony colors
Accessibility
White text reads better on this background (5.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9e9d92 · ΔE 41.6
Deuteranopia
#a5ae8d · ΔE 57.2
Tritanopia
#c7807c · ΔE 28.7
Achromatopsia
#6e6e6e · ΔE 29.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cc00a6;
bg-[#cc00a6]
Related colors
Frequently asked questions
#cc00a6 (#cc00a6) is rgb(204, 0, 166) in RGB.
No, #cc00a6 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 #cc00a6, or check how it holds up for accessibility.