Skip to content
Vectorlight.net

#d81ddf

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

HEX
#d81ddf
RGB
216, 29, 223
HSL
297.84°, 76.98%, 49.41%
OKLCH
0.63 0.28 326.51
Names
—
Lists

Codes

FormatValue
HEX#d81ddf
RGBrgb(216 29 223)
HSLhsl(297.84 76.98% 49.41%)
OKLCHoklch(0.63 0.28 326.51)
CMYKcmyk(3.14% 87% 0% 12.55%)
Android#ffd81ddf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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