Skip to content
Vectorlight.net

#ef42ac

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

HEX
#ef42ac
RGB
239, 66, 172
HSL
323.24°, 84.39%, 59.8%
OKLCH
0.66 0.23 347.64
Names
—
Lists

Codes

FormatValue
HEX#ef42ac
RGBrgb(239 66 172)
HSLhsl(323.24 84.39% 59.8%)
OKLCHoklch(0.66 0.23 347.64)
CMYKcmyk(0% 72.38% 28.03% 6.27%)
Android#ffef42ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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