Skip to content
Vectorlight.net

#ca1bab

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

HEX
#ca1bab
RGB
202, 27, 171
HSL
310.63°, 76.42%, 44.9%
OKLCH
0.58 0.24 337.4
Names
—
Lists

Codes

FormatValue
HEX#ca1bab
RGBrgb(202 27 171)
HSLhsl(310.63 76.42% 44.9%)
OKLCHoklch(0.58 0.24 337.4)
CMYKcmyk(0% 86.63% 15.35% 20.78%)
Android#ffca1bab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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