Skip to content
Vectorlight.net

#d998cd

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

HEX
#d998cd
RGB
217, 152, 205
HSL
311.08°, 46.1%, 72.35%
OKLCH
0.76 0.1 333.28
Names
—
Lists

Codes

FormatValue
HEX#d998cd
RGBrgb(217 152 205)
HSLhsl(311.08 46.1% 72.35%)
OKLCHoklch(0.76 0.1 333.28)
CMYKcmyk(0% 29.95% 5.53% 14.9%)
Android#ffd998cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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