Skip to content
Vectorlight.net

#ca159f

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

HEX
#ca159f
RGB
202, 21, 159
HSL
314.25°, 81.17%, 43.73%
OKLCH
0.57 0.24 341.24
Names
—
Lists

Codes

FormatValue
HEX#ca159f
RGBrgb(202 21 159)
HSLhsl(314.25 81.17% 43.73%)
OKLCHoklch(0.57 0.24 341.24)
CMYKcmyk(0% 89.6% 21.29% 20.78%)
Android#ffca159f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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