Skip to content
Vectorlight.net

#ec1e4c

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

HEX
#ec1e4c
RGB
236, 30, 76
HSL
346.6°, 84.43%, 52.16%
OKLCH
0.61 0.23 17.49
Names
—
Lists

Codes

FormatValue
HEX#ec1e4c
RGBrgb(236 30 76)
HSLhsl(346.6 84.43% 52.16%)
OKLCHoklch(0.61 0.23 17.49)
CMYKcmyk(0% 87.29% 67.8% 7.45%)
Android#ffec1e4c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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