Skip to content
Vectorlight.net

#c8157c

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

HEX
#c8157c
RGB
200, 21, 124
HSL
325.47°, 81%, 43.33%
OKLCH
0.55 0.22 353.37
Names
—
Lists

Codes

FormatValue
HEX#c8157c
RGBrgb(200 21 124)
HSLhsl(325.47 81% 43.33%)
OKLCHoklch(0.55 0.22 353.37)
CMYKcmyk(0% 89.5% 38% 21.57%)
Android#ffc8157c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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