Skip to content
Vectorlight.net

#d8a7cb

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

HEX
#d8a7cb
RGB
216, 167, 203
HSL
315.92°, 38.58%, 75.1%
OKLCH
0.78 0.07 336.05
Names
—
Lists

Codes

FormatValue
HEX#d8a7cb
RGBrgb(216 167 203)
HSLhsl(315.92 38.58% 75.1%)
OKLCHoklch(0.78 0.07 336.05)
CMYKcmyk(0% 22.69% 6.02% 15.29%)
Android#ffd8a7cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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