Skip to content
Vectorlight.net

#ec4cab

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

HEX
#ec4cab
RGB
236, 76, 171
HSL
324.38°, 80.81%, 61.18%
OKLCH
0.67 0.22 347.98
Names
—
Lists

Codes

FormatValue
HEX#ec4cab
RGBrgb(236 76 171)
HSLhsl(324.38 80.81% 61.18%)
OKLCHoklch(0.67 0.22 347.98)
CMYKcmyk(0% 67.8% 27.54% 7.45%)
Android#ffec4cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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