Skip to content
Vectorlight.net

#ca02ba

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

HEX
#ca02ba
RGB
202, 2, 186
HSL
304.8°, 98.04%, 40%
OKLCH
0.58 0.26 332.78
Names
—
Lists

Codes

FormatValue
HEX#ca02ba
RGBrgb(202 2 186)
HSLhsl(304.8 98.04% 40%)
OKLCHoklch(0.58 0.26 332.78)
CMYKcmyk(0% 99.01% 7.92% 20.78%)
Android#ffca02ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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