Skip to content
Vectorlight.net

#d98eaa

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

HEX
#d98eaa
RGB
217, 142, 170
HSL
337.6°, 49.67%, 70.39%
OKLCH
0.73 0.1 355.77
Names
—
Lists

Codes

FormatValue
HEX#d98eaa
RGBrgb(217 142 170)
HSLhsl(337.6 49.67% 70.39%)
OKLCHoklch(0.73 0.1 355.77)
CMYKcmyk(0% 34.56% 21.66% 14.9%)
Android#ffd98eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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