Skip to content
Vectorlight.net

#d52d7b

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

HEX
#d52d7b
RGB
213, 45, 123
HSL
332.14°, 66.67%, 50.59%
OKLCH
0.59 0.21 358.29
Names
—
Lists

Codes

FormatValue
HEX#d52d7b
RGBrgb(213 45 123)
HSLhsl(332.14 66.67% 50.59%)
OKLCHoklch(0.59 0.21 358.29)
CMYKcmyk(0% 78.87% 42.25% 16.47%)
Android#ffd52d7b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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