Skip to content
Vectorlight.net

#d51cdf

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

HEX
#d51cdf
RGB
213, 28, 223
HSL
296.92°, 77.69%, 49.22%
OKLCH
0.63 0.28 325.74
Names
—
Lists

Codes

FormatValue
HEX#d51cdf
RGBrgb(213 28 223)
HSLhsl(296.92 77.69% 49.22%)
OKLCHoklch(0.63 0.28 325.74)
CMYKcmyk(4.48% 87.44% 0% 12.55%)
Android#ffd51cdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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