Skip to content
Vectorlight.net

#d804ab

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

HEX
#d804ab
RGB
216, 4, 171
HSL
312.74°, 96.36%, 43.14%
OKLCH
0.6 0.26 340.82
Names
—
Lists

Codes

FormatValue
HEX#d804ab
RGBrgb(216 4 171)
HSLhsl(312.74 96.36% 43.14%)
OKLCHoklch(0.6 0.26 340.82)
CMYKcmyk(0% 98.15% 20.83% 15.29%)
Android#ffd804ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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