Skip to content
Vectorlight.net

#ec017e

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

HEX
#ec017e
RGB
236, 1, 126
HSL
328.09°, 99.16%, 46.47%
OKLCH
0.61 0.25 359.8
Names
—
Lists

Codes

FormatValue
HEX#ec017e
RGBrgb(236 1 126)
HSLhsl(328.09 99.16% 46.47%)
OKLCHoklch(0.61 0.25 359.8)
CMYKcmyk(0% 99.58% 46.61% 7.45%)
Android#ffec017e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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