Skip to content
Vectorlight.net

#ca118e

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

HEX
#ca118e
RGB
202, 17, 142
HSL
319.46°, 84.47%, 42.94%
OKLCH
0.56 0.23 347.04
Names
—
Lists

Codes

FormatValue
HEX#ca118e
RGBrgb(202 17 142)
HSLhsl(319.46 84.47% 42.94%)
OKLCHoklch(0.56 0.23 347.04)
CMYKcmyk(0% 91.58% 29.7% 20.78%)
Android#ffca118e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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