Skip to content
Vectorlight.net

#ec4eee

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

HEX
#ec4eee
RGB
236, 78, 238
HSL
299.25°, 82.47%, 61.96%
OKLCH
0.7 0.26 327.38
Names
—
Lists

Codes

FormatValue
HEX#ec4eee
RGBrgb(236 78 238)
HSLhsl(299.25 82.47% 61.96%)
OKLCHoklch(0.7 0.26 327.38)
CMYKcmyk(0.84% 67.23% 0% 6.67%)
Android#ffec4eee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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