Skip to content
Vectorlight.net

#c2187e

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

HEX
#c2187e
RGB
194, 24, 126
HSL
324°, 77.98%, 42.75%
OKLCH
0.54 0.21 351.21
Names
—
Lists

Codes

FormatValue
HEX#c2187e
RGBrgb(194 24 126)
HSLhsl(324 77.98% 42.75%)
OKLCHoklch(0.54 0.21 351.21)
CMYKcmyk(0% 87.63% 35.05% 23.92%)
Android#ffc2187e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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