Skip to content
Vectorlight.net

#d52d8a

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

HEX
#d52d8a
RGB
213, 45, 138
HSL
326.79°, 66.67%, 50.59%
OKLCH
0.59 0.22 352.43
Names
—
Lists

Codes

FormatValue
HEX#d52d8a
RGBrgb(213 45 138)
HSLhsl(326.79 66.67% 50.59%)
OKLCHoklch(0.59 0.22 352.43)
CMYKcmyk(0% 78.87% 35.21% 16.47%)
Android#ffd52d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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