Skip to content
Vectorlight.net

#d900ab

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

HEX
#d900ab
RGB
217, 0, 171
HSL
312.72°, 100%, 42.55%
OKLCH
0.6 0.26 341.03
Names
—
Lists

Codes

FormatValue
HEX#d900ab
RGBrgb(217 0 171)
HSLhsl(312.72 100% 42.55%)
OKLCHoklch(0.6 0.26 341.03)
CMYKcmyk(0% 100% 21.2% 14.9%)
Android#ffd900ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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