Skip to content
Vectorlight.net

#c72bad

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

HEX
#c72bad
RGB
199, 43, 173
HSL
310°, 64.46%, 47.45%
OKLCH
0.58 0.23 336.11
Names
—
Lists

Codes

FormatValue
HEX#c72bad
RGBrgb(199 43 173)
HSLhsl(310 64.46% 47.45%)
OKLCHoklch(0.58 0.23 336.11)
CMYKcmyk(0% 78.39% 13.07% 21.96%)
Android#ffc72bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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