Skip to content
Vectorlight.net

#ec5987

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

HEX
#ec5987
RGB
236, 89, 135
HSL
341.22°, 79.46%, 63.73%
OKLCH
0.67 0.18 4.22
Names
—
Lists

Codes

FormatValue
HEX#ec5987
RGBrgb(236 89 135)
HSLhsl(341.22 79.46% 63.73%)
OKLCHoklch(0.67 0.18 4.22)
CMYKcmyk(0% 62.29% 42.8% 7.45%)
Android#ffec5987

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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