Skip to content
Vectorlight.net

#ca2974

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

HEX
#ca2974
RGB
202, 41, 116
HSL
332.05°, 66.26%, 47.65%
OKLCH
0.56 0.2 358.33
Names
—
Lists

Codes

FormatValue
HEX#ca2974
RGBrgb(202 41 116)
HSLhsl(332.05 66.26% 47.65%)
OKLCHoklch(0.56 0.2 358.33)
CMYKcmyk(0% 79.7% 42.57% 20.78%)
Android#ffca2974

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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