Skip to content
Vectorlight.net

#d51dcd

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

HEX
#d51dcd
RGB
213, 29, 205
HSL
302.61°, 76.03%, 47.45%
OKLCH
0.62 0.27 330.37
Names
—
Lists

Codes

FormatValue
HEX#d51dcd
RGBrgb(213 29 205)
HSLhsl(302.61 76.03% 47.45%)
OKLCHoklch(0.62 0.27 330.37)
CMYKcmyk(0% 86.38% 3.76% 16.47%)
Android#ffd51dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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