Skip to content
Vectorlight.net

#ef2e7c

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

HEX
#ef2e7c
RGB
239, 46, 124
HSL
335.75°, 85.78%, 55.88%
OKLCH
0.63 0.23 3.05
Names
—
Lists

Codes

FormatValue
HEX#ef2e7c
RGBrgb(239 46 124)
HSLhsl(335.75 85.78% 55.88%)
OKLCHoklch(0.63 0.23 3.05)
CMYKcmyk(0% 80.75% 48.12% 6.27%)
Android#ffef2e7c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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