Skip to content
Vectorlight.net

#ca42ba

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

HEX
#ca42ba
RGB
202, 66, 186
HSL
307.06°, 56.2%, 52.55%
OKLCH
0.61 0.22 332.95
Names
—
Lists

Codes

FormatValue
HEX#ca42ba
RGBrgb(202 66 186)
HSLhsl(307.06 56.2% 52.55%)
OKLCHoklch(0.61 0.22 332.95)
CMYKcmyk(0% 67.33% 7.92% 20.78%)
Android#ffca42ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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