Skip to content
Vectorlight.net

#d5787f

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

HEX
#d5787f
RGB
213, 120, 127
HSL
355.48°, 52.54%, 65.29%
OKLCH
0.68 0.12 15.84
Names
—
Lists

Codes

FormatValue
HEX#d5787f
RGBrgb(213 120 127)
HSLhsl(355.48 52.54% 65.29%)
OKLCHoklch(0.68 0.12 15.84)
CMYKcmyk(0% 43.66% 40.38% 16.47%)
Android#ffd5787f

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.82: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="#d5787f"
Gradient stop
<stop stop-color="#d5787f"/>
CSS variable + fill
:root { --c: #d5787f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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