Skip to content
Vectorlight.net

#d704aa

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

HEX
#d704aa
RGB
215, 4, 170
HSL
312.8°, 96.35%, 42.94%
OKLCH
0.59 0.26 340.88
Names
—
Lists

Codes

FormatValue
HEX#d704aa
RGBrgb(215 4 170)
HSLhsl(312.8 96.35% 42.94%)
OKLCHoklch(0.59 0.26 340.88)
CMYKcmyk(0% 98.14% 20.93% 15.69%)
Android#ffd704aa

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.48: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="#d704aa"
Gradient stop
<stop stop-color="#d704aa"/>
CSS variable + fill
:root { --c: #d704aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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