Skip to content
Vectorlight.net

#d800aa

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

HEX
#d800aa
RGB
216, 0, 170
HSL
312.78°, 100%, 42.35%
OKLCH
0.59 0.26 341.09
Names
—
Lists

Codes

FormatValue
HEX#d800aa
RGBrgb(216 0 170)
HSLhsl(312.78 100% 42.35%)
OKLCHoklch(0.59 0.26 341.09)
CMYKcmyk(0% 100% 21.3% 15.29%)
Android#ffd800aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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