Skip to content
Vectorlight.net

#ca315e

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

HEX
#ca315e
RGB
202, 49, 94
HSL
342.35°, 60.96%, 49.22%
OKLCH
0.56 0.19 8.75
Names
—
Lists

Codes

FormatValue
HEX#ca315e
RGBrgb(202 49 94)
HSLhsl(342.35 60.96% 49.22%)
OKLCHoklch(0.56 0.19 8.75)
CMYKcmyk(0% 75.74% 53.47% 20.78%)
Android#ffca315e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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