Skip to content
Vectorlight.net

#ca2dac

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

HEX
#ca2dac
RGB
202, 45, 172
HSL
311.46°, 63.56%, 48.43%
OKLCH
0.59 0.23 337.32
Names
—
Lists

Codes

FormatValue
HEX#ca2dac
RGBrgb(202 45 172)
HSLhsl(311.46 63.56% 48.43%)
OKLCHoklch(0.59 0.23 337.32)
CMYKcmyk(0% 77.72% 14.85% 20.78%)
Android#ffca2dac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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