Skip to content
Vectorlight.net

#ec007e

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

HEX
#ec007e
RGB
236, 0, 126
HSL
327.97°, 100%, 46.27%
OKLCH
0.61 0.25 359.78
Names
—
Lists

Codes

FormatValue
HEX#ec007e
RGBrgb(236 0 126)
HSLhsl(327.97 100% 46.27%)
OKLCHoklch(0.61 0.25 359.78)
CMYKcmyk(0% 100% 46.61% 7.45%)
Android#ffec007e

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.86: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="#ec007e"
Gradient stop
<stop stop-color="#ec007e"/>
CSS variable + fill
:root { --c: #ec007e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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