Skip to content
Vectorlight.net

#ca0d8a

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

HEX
#ca0d8a
RGB
202, 13, 138
HSL
320.32°, 87.91%, 42.16%
OKLCH
0.56 0.23 348.4
Names
—
Lists

Codes

FormatValue
HEX#ca0d8a
RGBrgb(202 13 138)
HSLhsl(320.32 87.91% 42.16%)
OKLCHoklch(0.56 0.23 348.4)
CMYKcmyk(0% 93.56% 31.68% 20.78%)
Android#ffca0d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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