Skip to content
Vectorlight.net

#c21897

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

HEX
#c21897
RGB
194, 24, 151
HSL
315.18°, 77.98%, 42.75%
OKLCH
0.55 0.23 341.87
Names
—
Lists

Codes

FormatValue
HEX#c21897
RGBrgb(194 24 151)
HSLhsl(315.18 77.98% 42.75%)
OKLCHoklch(0.55 0.23 341.87)
CMYKcmyk(0% 87.63% 22.16% 23.92%)
Android#ffc21897

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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