Skip to content
Vectorlight.net

#d8a8cf

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

HEX
#d8a8cf
RGB
216, 168, 207
HSL
311.25°, 38.1%, 75.29%
OKLCH
0.79 0.08 332.88
Names
—
Lists

Codes

FormatValue
HEX#d8a8cf
RGBrgb(216 168 207)
HSLhsl(311.25 38.1% 75.29%)
OKLCHoklch(0.79 0.08 332.88)
CMYKcmyk(0% 22.22% 4.17% 15.29%)
Android#ffd8a8cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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