Skip to content
Vectorlight.net

#ef398b

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

HEX
#ef398b
RGB
239, 57, 139
HSL
332.97°, 85.05%, 58.04%
OKLCH
0.64 0.22 358.64
Names
—
Lists

Codes

FormatValue
HEX#ef398b
RGBrgb(239 57 139)
HSLhsl(332.97 85.05% 58.04%)
OKLCHoklch(0.64 0.22 358.64)
CMYKcmyk(0% 76.15% 41.84% 6.27%)
Android#ffef398b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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