Skip to content
Vectorlight.net

#d51dbc

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

HEX
#d51dbc
RGB
213, 29, 188
HSL
308.15°, 76.03%, 47.45%
OKLCH
0.61 0.26 335.14
Names
—
Lists

Codes

FormatValue
HEX#d51dbc
RGBrgb(213 29 188)
HSLhsl(308.15 76.03% 47.45%)
OKLCHoklch(0.61 0.26 335.14)
CMYKcmyk(0% 86.38% 11.74% 16.47%)
Android#ffd51dbc

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

Recolor an SVG with this color

CSS

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