Skip to content
Vectorlight.net

#ec1ab2

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

HEX
#ec1ab2
RGB
236, 26, 178
HSL
316.57°, 84.68%, 51.37%
OKLCH
0.64 0.26 343.64
Names
—
Lists

Codes

FormatValue
HEX#ec1ab2
RGBrgb(236 26 178)
HSLhsl(316.57 84.68% 51.37%)
OKLCHoklch(0.64 0.26 343.64)
CMYKcmyk(0% 88.98% 24.58% 7.45%)
Android#ffec1ab2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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