Skip to content
Vectorlight.net

#d797af

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

HEX
#d797af
RGB
215, 151, 175
HSL
337.5°, 44.44%, 71.76%
OKLCH
0.75 0.08 355.07
Names
—
Lists

Codes

FormatValue
HEX#d797af
RGBrgb(215 151 175)
HSLhsl(337.5 44.44% 71.76%)
OKLCHoklch(0.75 0.08 355.07)
CMYKcmyk(0% 29.77% 18.6% 15.69%)
Android#ffd797af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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