Skip to content
Vectorlight.net

#c728ad

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

HEX
#c728ad
RGB
199, 40, 173
HSL
309.81°, 66.53%, 46.86%
OKLCH
0.58 0.23 336.07
Names
—
Lists

Codes

FormatValue
HEX#c728ad
RGBrgb(199 40 173)
HSLhsl(309.81 66.53% 46.86%)
OKLCHoklch(0.58 0.23 336.07)
CMYKcmyk(0% 79.9% 13.07% 21.96%)
Android#ffc728ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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