Skip to content
Vectorlight.net

#ca158d

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

HEX
#ca158d
RGB
202, 21, 141
HSL
320.22°, 81.17%, 43.73%
OKLCH
0.56 0.23 347.5
Names
—
Lists

Codes

FormatValue
HEX#ca158d
RGBrgb(202 21 141)
HSLhsl(320.22 81.17% 43.73%)
OKLCHoklch(0.56 0.23 347.5)
CMYKcmyk(0% 89.6% 30.2% 20.78%)
Android#ffca158d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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