Skip to content
Vectorlight.net

#d800ac

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

HEX
#d800ac
RGB
216, 0, 172
HSL
312.22°, 100%, 42.35%
OKLCH
0.59 0.26 340.49
Names
—
Lists

Codes

FormatValue
HEX#d800ac
RGBrgb(216 0 172)
HSLhsl(312.22 100% 42.35%)
OKLCHoklch(0.59 0.26 340.49)
CMYKcmyk(0% 100% 20.37% 15.29%)
Android#ffd800ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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