Skip to content
Vectorlight.net

#c9178a

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

HEX
#c9178a
RGB
201, 23, 138
HSL
321.24°, 79.46%, 43.92%
OKLCH
0.56 0.22 348.4
Names
—
Lists

Codes

FormatValue
HEX#c9178a
RGBrgb(201 23 138)
HSLhsl(321.24 79.46% 43.92%)
OKLCHoklch(0.56 0.22 348.4)
CMYKcmyk(0% 88.56% 31.34% 21.18%)
Android#ffc9178a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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