Skip to content
Vectorlight.net

#c72faf

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

HEX
#c72faf
RGB
199, 47, 175
HSL
309.47°, 61.79%, 48.24%
OKLCH
0.59 0.23 335.5
Names
—
Lists

Codes

FormatValue
HEX#c72faf
RGBrgb(199 47 175)
HSLhsl(309.47 61.79% 48.24%)
OKLCHoklch(0.59 0.23 335.5)
CMYKcmyk(0% 76.38% 12.06% 21.96%)
Android#ffc72faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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