Skip to content
Vectorlight.net

#c52d79

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

HEX
#c52d79
RGB
197, 45, 121
HSL
330°, 62.81%, 47.45%
OKLCH
0.56 0.2 355.42
Names
—
Lists

Codes

FormatValue
HEX#c52d79
RGBrgb(197 45 121)
HSLhsl(330 62.81% 47.45%)
OKLCHoklch(0.56 0.2 355.42)
CMYKcmyk(0% 77.16% 38.58% 22.75%)
Android#ffc52d79

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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