Skip to content
Vectorlight.net

#d897cb

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

HEX
#d897cb
RGB
216, 151, 203
HSL
312°, 45.45%, 71.96%
OKLCH
0.76 0.1 333.9
Names
—
Lists

Codes

FormatValue
HEX#d897cb
RGBrgb(216 151 203)
HSLhsl(312 45.45% 71.96%)
OKLCHoklch(0.76 0.1 333.9)
CMYKcmyk(0% 30.09% 6.02% 15.29%)
Android#ffd897cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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