Skip to content
Vectorlight.net

#ca0c97

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

HEX
#ca0c97
RGB
202, 12, 151
HSL
316.11°, 88.79%, 41.96%
OKLCH
0.56 0.24 343.81
Names
—
Lists

Codes

FormatValue
HEX#ca0c97
RGBrgb(202 12 151)
HSLhsl(316.11 88.79% 41.96%)
OKLCHoklch(0.56 0.24 343.81)
CMYKcmyk(0% 94.06% 25.25% 20.78%)
Android#ffca0c97

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.01: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="#ca0c97"
Gradient stop
<stop stop-color="#ca0c97"/>
CSS variable + fill
:root { --c: #ca0c97; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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