Skip to content
Vectorlight.net

#c21fac

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

HEX
#c21fac
RGB
194, 31, 172
HSL
308.1°, 72.44%, 44.12%
OKLCH
0.57 0.24 334.89
Names
—
Lists

Codes

FormatValue
HEX#c21fac
RGBrgb(194 31 172)
HSLhsl(308.1 72.44% 44.12%)
OKLCHoklch(0.57 0.24 334.89)
CMYKcmyk(0% 84.02% 11.34% 23.92%)
Android#ffc21fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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