Skip to content
Vectorlight.net

#d51db3

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

HEX
#d51db3
RGB
213, 29, 179
HSL
311.09°, 76.03%, 47.45%
OKLCH
0.6 0.25 337.83
Names
—
Lists

Codes

FormatValue
HEX#d51db3
RGBrgb(213 29 179)
HSLhsl(311.09 76.03% 47.45%)
OKLCHoklch(0.6 0.25 337.83)
CMYKcmyk(0% 86.38% 15.96% 16.47%)
Android#ffd51db3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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