Skip to content
Vectorlight.net

#ca118d

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

HEX
#ca118d
RGB
202, 17, 141
HSL
319.78°, 84.47%, 42.94%
OKLCH
0.56 0.23 347.4
Names
—
Lists

Codes

FormatValue
HEX#ca118d
RGBrgb(202 17 141)
HSLhsl(319.78 84.47% 42.94%)
OKLCHoklch(0.56 0.23 347.4)
CMYKcmyk(0% 91.58% 30.2% 20.78%)
Android#ffca118d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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