Skip to content
Vectorlight.net

#c21ea9

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

HEX
#c21ea9
RGB
194, 30, 169
HSL
309.15°, 73.21%, 43.92%
OKLCH
0.57 0.23 335.85
Names
—
Lists

Codes

FormatValue
HEX#c21ea9
RGBrgb(194 30 169)
HSLhsl(309.15 73.21% 43.92%)
OKLCHoklch(0.57 0.23 335.85)
CMYKcmyk(0% 84.54% 12.89% 23.92%)
Android#ffc21ea9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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