Skip to content
Vectorlight.net

#ca158a

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

HEX
#ca158a
RGB
202, 21, 138
HSL
321.22°, 81.17%, 43.73%
OKLCH
0.56 0.23 348.59
Names
—
Lists

Codes

FormatValue
HEX#ca158a
RGBrgb(202 21 138)
HSLhsl(321.22 81.17% 43.73%)
OKLCHoklch(0.56 0.23 348.59)
CMYKcmyk(0% 89.6% 31.68% 20.78%)
Android#ffca158a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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