Skip to content
Vectorlight.net

#d018ab

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

HEX
#d018ab
RGB
208, 24, 171
HSL
312.07°, 79.31%, 45.49%
OKLCH
0.59 0.25 338.96
Names
—
Lists

Codes

FormatValue
HEX#d018ab
RGBrgb(208 24 171)
HSLhsl(312.07 79.31% 45.49%)
OKLCHoklch(0.59 0.25 338.96)
CMYKcmyk(0% 88.46% 17.79% 18.43%)
Android#ffd018ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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