Skip to content
Vectorlight.net

#ca158f

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

HEX
#ca158f
RGB
202, 21, 143
HSL
319.56°, 81.17%, 43.73%
OKLCH
0.56 0.23 346.78
Names
—
Lists

Codes

FormatValue
HEX#ca158f
RGBrgb(202 21 143)
HSLhsl(319.56 81.17% 43.73%)
OKLCHoklch(0.56 0.23 346.78)
CMYKcmyk(0% 89.6% 29.21% 20.78%)
Android#ffca158f

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="#ca158f"
Gradient stop
<stop stop-color="#ca158f"/>
CSS variable + fill
:root { --c: #ca158f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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