Skip to content
Vectorlight.net

#d008ab

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

HEX
#d008ab
RGB
208, 8, 171
HSL
311.1°, 92.59%, 42.35%
OKLCH
0.58 0.25 338.83
Names
—
Lists

Codes

FormatValue
HEX#d008ab
RGBrgb(208 8 171)
HSLhsl(311.1 92.59% 42.35%)
OKLCHoklch(0.58 0.25 338.83)
CMYKcmyk(0% 96.15% 17.79% 18.43%)
Android#ffd008ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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