Skip to content
Vectorlight.net

#ec007f

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

HEX
#ec007f
RGB
236, 0, 127
HSL
327.71°, 100%, 46.27%
OKLCH
0.61 0.25 359.44
Names
—
Lists

Codes

FormatValue
HEX#ec007f
RGBrgb(236 0 127)
HSLhsl(327.71 100% 46.27%)
OKLCHoklch(0.61 0.25 359.44)
CMYKcmyk(0% 100% 46.19% 7.45%)
Android#ffec007f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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