Skip to content
Vectorlight.net

#d718ab

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

HEX
#d718ab
RGB
215, 24, 171
HSL
313.82°, 79.92%, 46.86%
OKLCH
0.6 0.25 340.75
Names
—
Lists

Codes

FormatValue
HEX#d718ab
RGBrgb(215 24 171)
HSLhsl(313.82 79.92% 46.86%)
OKLCHoklch(0.6 0.25 340.75)
CMYKcmyk(0% 88.84% 20.47% 15.69%)
Android#ffd718ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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