Skip to content
Kolorvia
#ca28a5

Color #ca28a5

A moderately saturated medium magenta.

Conversions

HEX
#ca28a5
RGB
rgb(202, 40, 165)
HSL
hsl(313.7, 66.9%, 47.5%)
HSV / HSB
hsv(313.7, 80.2%, 79.2%)
CMYK
cmyk(0%, 80.2%, 18.3%, 20.8%)
LAB
lab(48, 71.64, -29.41)
LCH
lch(48, 77.44, 337.68)
OKLCH
oklch(58.2%, 0.2281, 339.58)
HWB
hwb(313.7, 15.7%, 20.8%)

Harmony colors

Complementary

#28ca4d

Analogous

#9e28ca
#ca28a5
#ca2854

Triadic

#ca28a5
#a5ca28
#28a5ca

Split-complementary

#ca28a5
#54ca28
#28ca9e

Tetradic

#ca28a5
#ca4d28
#28ca4d
#28a5ca

Square

#ca28a5
#ca9e28
#28ca4d
#2854ca

Shades

Color #ca28a5 mixed toward black.

#a8218a
#871b6e
#651453
#430d37
#22071c

Tints

Color #ca28a5 mixed toward white.

#da45b8
#e16ac6
#e98fd4
#f0b5e3
#f8daf1

Tones

Color #ca28a5 mixed toward gray.

#bd369e
#af4396
#a2518f
#945e88
#876c80

Accessibility

Aa White text on this color
4.82:1
Aa Black text on this color
4.36:1

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

CSS
background-color: #ca28a5;
Tailwind (arbitrary value)
bg-[#ca28a5]

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

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

Build something with this color

Generate a full palette from #ca28a5, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.