Skip to content
Vectorlight.net

#c421ba

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

HEX
#c421ba
RGB
196, 33, 186
HSL
303.68°, 71.18%, 44.9%
OKLCH
0.58 0.24 331.12
Names
—
Lists

Codes

FormatValue
HEX#c421ba
RGBrgb(196 33 186)
HSLhsl(303.68 71.18% 44.9%)
OKLCHoklch(0.58 0.24 331.12)
CMYKcmyk(0% 83.16% 5.1% 23.14%)
Android#ffc421ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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