Skip to content
Vectorlight.net

#ca2fb1

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

HEX
#ca2fb1
RGB
202, 47, 177
HSL
309.68°, 62.25%, 48.82%
OKLCH
0.59 0.23 335.7
Names
—
Lists

Codes

FormatValue
HEX#ca2fb1
RGBrgb(202 47 177)
HSLhsl(309.68 62.25% 48.82%)
OKLCHoklch(0.59 0.23 335.7)
CMYKcmyk(0% 76.73% 12.38% 20.78%)
Android#ffca2fb1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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