Skip to content
Vectorlight.net

#ec7eee

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

HEX
#ec7eee
RGB
236, 126, 238
HSL
298.93°, 76.71%, 71.37%
OKLCH
0.75 0.19 326.61
Names
—
Lists

Codes

FormatValue
HEX#ec7eee
RGBrgb(236 126 238)
HSLhsl(298.93 76.71% 71.37%)
OKLCHoklch(0.75 0.19 326.61)
CMYKcmyk(0.84% 47.06% 0% 6.67%)
Android#ffec7eee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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