Skip to content
Vectorlight.net

#d51dbd

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

HEX
#d51dbd
RGB
213, 29, 189
HSL
307.83°, 76.03%, 47.45%
OKLCH
0.61 0.26 334.85
Names
—
Lists

Codes

FormatValue
HEX#d51dbd
RGBrgb(213 29 189)
HSLhsl(307.83 76.03% 47.45%)
OKLCHoklch(0.61 0.26 334.85)
CMYKcmyk(0% 86.38% 11.27% 16.47%)
Android#ffd51dbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.73:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d51dbd"
Gradient stop
<stop stop-color="#d51dbd"/>
CSS variable + fill
:root { --c: #d51dbd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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