Skip to content
Vectorlight.net

#d804ac

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

HEX
#d804ac
RGB
216, 4, 172
HSL
312.45°, 96.36%, 43.14%
OKLCH
0.6 0.26 340.51
Names
—
Lists

Codes

FormatValue
HEX#d804ac
RGBrgb(216 4 172)
HSLhsl(312.45 96.36% 43.14%)
OKLCHoklch(0.6 0.26 340.51)
CMYKcmyk(0% 98.15% 20.37% 15.29%)
Android#ffd804ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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