Skip to content
Vectorlight.net

#ef338c

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

HEX
#ef338c
RGB
239, 51, 140
HSL
331.6°, 85.45%, 56.86%
OKLCH
0.64 0.23 357.76
Names
—
Lists

Codes

FormatValue
HEX#ef338c
RGBrgb(239 51 140)
HSLhsl(331.6 85.45% 56.86%)
OKLCHoklch(0.64 0.23 357.76)
CMYKcmyk(0% 78.66% 41.42% 6.27%)
Android#ffef338c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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