Skip to content
Vectorlight.net

#ec88dc

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

HEX
#ec88dc
RGB
236, 136, 220
HSL
309.6°, 72.46%, 72.94%
OKLCH
0.76 0.16 333.15
Names
—
Lists

Codes

FormatValue
HEX#ec88dc
RGBrgb(236 136 220)
HSLhsl(309.6 72.46% 72.94%)
OKLCHoklch(0.76 0.16 333.15)
CMYKcmyk(0% 42.37% 6.78% 7.45%)
Android#ffec88dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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