Skip to content
Vectorlight.net

#ef398c

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

HEX
#ef398c
RGB
239, 57, 140
HSL
332.64°, 85.05%, 58.04%
OKLCH
0.64 0.22 358.27
Names
—
Lists

Codes

FormatValue
HEX#ef398c
RGBrgb(239 57 140)
HSLhsl(332.64 85.05% 58.04%)
OKLCHoklch(0.64 0.22 358.27)
CMYKcmyk(0% 76.15% 41.42% 6.27%)
Android#ffef398c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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