Skip to content
Vectorlight.net

#c72ca3

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

HEX
#c72ca3
RGB
199, 44, 163
HSL
313.94°, 63.79%, 47.65%
OKLCH
0.58 0.22 339.52
Names
—
Lists

Codes

FormatValue
HEX#c72ca3
RGBrgb(199 44 163)
HSLhsl(313.94 63.79% 47.65%)
OKLCHoklch(0.58 0.22 339.52)
CMYKcmyk(0% 77.89% 18.09% 21.96%)
Android#ffc72ca3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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