Skip to content
Vectorlight.net

#c421a4

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

HEX
#c421a4
RGB
196, 33, 164
HSL
311.78°, 71.18%, 44.9%
OKLCH
0.57 0.23 338.11
Names
—
Lists

Codes

FormatValue
HEX#c421a4
RGBrgb(196 33 164)
HSLhsl(311.78 71.18% 44.9%)
OKLCHoklch(0.57 0.23 338.11)
CMYKcmyk(0% 83.16% 16.33% 23.14%)
Android#ffc421a4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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