Skip to content
Vectorlight.net

#e4787f

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

HEX
#e4787f
RGB
228, 120, 127
HSL
356.11°, 66.67%, 68.24%
OKLCH
0.7 0.13 17.08
Names
—
Lists

Codes

FormatValue
HEX#e4787f
RGBrgb(228 120 127)
HSLhsl(356.11 66.67% 68.24%)
OKLCHoklch(0.7 0.13 17.08)
CMYKcmyk(0% 47.37% 44.3% 10.59%)
Android#ffe4787f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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