Skip to content
Vectorlight.net

#d51c8d

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

HEX
#d51c8d
RGB
213, 28, 141
HSL
323.35°, 76.76%, 47.25%
OKLCH
0.58 0.23 350.44
Names
—
Lists

Codes

FormatValue
HEX#d51c8d
RGBrgb(213 28 141)
HSLhsl(323.35 76.76% 47.25%)
OKLCHoklch(0.58 0.23 350.44)
CMYKcmyk(0% 86.85% 33.8% 16.47%)
Android#ffd51c8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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