Skip to content
Vectorlight.net

#d52f81

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

HEX
#d52f81
RGB
213, 47, 129
HSL
330.36°, 66.4%, 50.98%
OKLCH
0.59 0.21 356.09
Names
—
Lists

Codes

FormatValue
HEX#d52f81
RGBrgb(213 47 129)
HSLhsl(330.36 66.4% 50.98%)
OKLCHoklch(0.59 0.21 356.09)
CMYKcmyk(0% 77.93% 39.44% 16.47%)
Android#ffd52f81

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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