Skip to content
Vectorlight.net

#c21486

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

HEX
#c21486
RGB
194, 20, 134
HSL
320.69°, 81.31%, 41.96%
OKLCH
0.54 0.22 347.98
Names
—
Lists

Codes

FormatValue
HEX#c21486
RGBrgb(194 20 134)
HSLhsl(320.69 81.31% 41.96%)
OKLCHoklch(0.54 0.22 347.98)
CMYKcmyk(0% 89.69% 30.93% 23.92%)
Android#ffc21486

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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