Skip to content
Vectorlight.net

#ca31bf

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

HEX
#ca31bf
RGB
202, 49, 191
HSL
304.31°, 60.96%, 49.22%
OKLCH
0.6 0.24 331.31
Names
—
Lists

Codes

FormatValue
HEX#ca31bf
RGBrgb(202 49 191)
HSLhsl(304.31 60.96% 49.22%)
OKLCHoklch(0.6 0.24 331.31)
CMYKcmyk(0% 75.74% 5.45% 20.78%)
Android#ffca31bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.70:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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