Skip to content
Vectorlight.net

#ca1c87

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ca1c87
RGB
202, 28, 135
HSL
323.1°, 75.65%, 45.1%
OKLCH
0.56 0.22 349.95
Names
—
Lists

Codes

FormatValue
HEX#ca1c87
RGBrgb(202 28 135)
HSLhsl(323.1 75.65% 45.1%)
OKLCHoklch(0.56 0.22 349.95)
CMYKcmyk(0% 86.14% 33.17% 20.78%)
Android#ffca1c87

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.21:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ca1c87"
Gradient stop
<stop stop-color="#ca1c87"/>
CSS variable + fill
:root { --c: #ca1c87; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ca1c87;
background-color: #ca1c87;
bg-[#ca1c87]