Skip to content
Vectorlight.net

#d9798e

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

HEX
#d9798e
RGB
217, 121, 142
HSL
346.88°, 55.81%, 66.27%
OKLCH
0.69 0.12 6.75
Names
—
Lists

Codes

FormatValue
HEX#d9798e
RGBrgb(217 121 142)
HSLhsl(346.88 55.81% 66.27%)
OKLCHoklch(0.69 0.12 6.75)
CMYKcmyk(0% 44.24% 34.56% 14.9%)
Android#ffd9798e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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