Skip to content
Vectorlight.net

#c52d99

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

HEX
#c52d99
RGB
197, 45, 153
HSL
317.37°, 62.81%, 47.45%
OKLCH
0.57 0.21 342.59
Names
—
Lists

Codes

FormatValue
HEX#c52d99
RGBrgb(197 45 153)
HSLhsl(317.37 62.81% 47.45%)
OKLCHoklch(0.57 0.21 342.59)
CMYKcmyk(0% 77.16% 22.34% 22.75%)
Android#ffc52d99

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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