Skip to content
Vectorlight.net

#d800ab

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

HEX
#d800ab
RGB
216, 0, 171
HSL
312.5°, 100%, 42.35%
OKLCH
0.59 0.26 340.79
Names
—
Lists

Codes

FormatValue
HEX#d800ab
RGBrgb(216 0 171)
HSLhsl(312.5 100% 42.35%)
OKLCHoklch(0.59 0.26 340.79)
CMYKcmyk(0% 100% 20.83% 15.29%)
Android#ffd800ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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