Skip to content
Vectorlight.net

#d97ca3

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

HEX
#d97ca3
RGB
217, 124, 163
HSL
334.84°, 55.03%, 66.86%
OKLCH
0.7 0.12 354.17
Names
—
Lists

Codes

FormatValue
HEX#d97ca3
RGBrgb(217 124 163)
HSLhsl(334.84 55.03% 66.86%)
OKLCHoklch(0.7 0.12 354.17)
CMYKcmyk(0% 42.86% 24.88% 14.9%)
Android#ffd97ca3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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