Skip to content
Vectorlight.net

#ca2bac

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

HEX
#ca2bac
RGB
202, 43, 172
HSL
311.32°, 64.9%, 48.04%
OKLCH
0.59 0.23 337.28
Names
—
Lists

Codes

FormatValue
HEX#ca2bac
RGBrgb(202 43 172)
HSLhsl(311.32 64.9% 48.04%)
OKLCHoklch(0.59 0.23 337.28)
CMYKcmyk(0% 78.71% 14.85% 20.78%)
Android#ffca2bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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