Skip to content
Vectorlight.net

#d804a7

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

HEX
#d804a7
RGB
216, 4, 167
HSL
313.87°, 96.36%, 43.14%
OKLCH
0.59 0.25 342.05
Names
—
Lists

Codes

FormatValue
HEX#d804a7
RGBrgb(216 4 167)
HSLhsl(313.87 96.36% 43.14%)
OKLCHoklch(0.59 0.25 342.05)
CMYKcmyk(0% 98.15% 22.69% 15.29%)
Android#ffd804a7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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