Skip to content
Vectorlight.net

#ca1b8a

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

HEX
#ca1b8a
RGB
202, 27, 138
HSL
321.94°, 76.42%, 44.9%
OKLCH
0.56 0.22 348.79
Names
—
Lists

Codes

FormatValue
HEX#ca1b8a
RGBrgb(202 27 138)
HSLhsl(321.94 76.42% 44.9%)
OKLCHoklch(0.56 0.22 348.79)
CMYKcmyk(0% 86.63% 31.68% 20.78%)
Android#ffca1b8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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