Skip to content
Vectorlight.net

#ca128a

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

HEX
#ca128a
RGB
202, 18, 138
HSL
320.87°, 83.64%, 43.14%
OKLCH
0.56 0.23 348.51
Names
—
Lists

Codes

FormatValue
HEX#ca128a
RGBrgb(202 18 138)
HSLhsl(320.87 83.64% 43.14%)
OKLCHoklch(0.56 0.23 348.51)
CMYKcmyk(0% 91.09% 31.68% 20.78%)
Android#ffca128a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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