Skip to content
Vectorlight.net

#d9518b

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

HEX
#d9518b
RGB
217, 81, 139
HSL
334.41°, 64.15%, 58.43%
OKLCH
0.63 0.18 357.05
Names
—
Lists

Codes

FormatValue
HEX#d9518b
RGBrgb(217 81 139)
HSLhsl(334.41 64.15% 58.43%)
OKLCHoklch(0.63 0.18 357.05)
CMYKcmyk(0% 62.67% 35.94% 14.9%)
Android#ffd9518b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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