Skip to content
Vectorlight.net

#d700ab

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

HEX
#d700ab
RGB
215, 0, 171
HSL
312.28°, 100%, 42.16%
OKLCH
0.59 0.26 340.54
Names
—
Lists

Codes

FormatValue
HEX#d700ab
RGBrgb(215 0 171)
HSLhsl(312.28 100% 42.16%)
OKLCHoklch(0.59 0.26 340.54)
CMYKcmyk(0% 100% 20.47% 15.69%)
Android#ffd700ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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