Skip to content
Vectorlight.net

#d797cf

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

HEX
#d797cf
RGB
215, 151, 207
HSL
307.5°, 44.44%, 71.76%
OKLCH
0.76 0.11 330.98
Names
—
Lists

Codes

FormatValue
HEX#d797cf
RGBrgb(215 151 207)
HSLhsl(307.5 44.44% 71.76%)
OKLCHoklch(0.76 0.11 330.98)
CMYKcmyk(0% 29.77% 3.72% 15.69%)
Android#ffd797cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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