Skip to content
Vectorlight.net

#d4789e

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

HEX
#d4789e
RGB
212, 120, 158
HSL
335.22°, 51.69%, 65.1%
OKLCH
0.68 0.12 354.61
Names
—
Lists

Codes

FormatValue
HEX#d4789e
RGBrgb(212 120 158)
HSLhsl(335.22 51.69% 65.1%)
OKLCHoklch(0.68 0.12 354.61)
CMYKcmyk(0% 43.4% 25.47% 16.86%)
Android#ffd4789e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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