Color #ca28a5
A moderately saturated medium magenta.
Conversions
#ca28a5
rgb(202, 40, 165)
hsl(313.7, 66.9%, 47.5%)
hsv(313.7, 80.2%, 79.2%)
cmyk(0%, 80.2%, 18.3%, 20.8%)
lab(48, 71.64, -29.41)
lch(48, 77.44, 337.68)
oklch(58.2%, 0.2281, 339.58)
hwb(313.7, 15.7%, 20.8%)
Harmony colors
Accessibility
White text reads better on this background (4.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9e9d93 · ΔE 39.3
Deuteranopia
#a5ad8e · ΔE 54.2
Tritanopia
#c6827e · ΔE 27.2
Achromatopsia
#727272 · ΔE 28.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ca28a5;
bg-[#ca28a5]
Related colors
Frequently asked questions
#ca28a5 (#ca28a5) is rgb(202, 40, 165) in RGB.
No, #ca28a5 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 #ca28a5, or check how it holds up for accessibility.