Skip to content
Vectorlight.net

#d4797e

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

HEX
#d4797e
RGB
212, 121, 126
HSL
356.7°, 51.41%, 65.29%
OKLCH
0.68 0.11 17.03
Names
—
Lists

Codes

FormatValue
HEX#d4797e
RGBrgb(212 121 126)
HSLhsl(356.7 51.41% 65.29%)
OKLCHoklch(0.68 0.11 17.03)
CMYKcmyk(0% 42.92% 40.57% 16.86%)
Android#ffd4797e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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