Skip to content
Vectorlight.net

#e2398b

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

HEX
#e2398b
RGB
226, 57, 139
HSL
330.89°, 74.45%, 55.49%
OKLCH
0.62 0.21 355.98
Names
—
Lists

Codes

FormatValue
HEX#e2398b
RGBrgb(226 57 139)
HSLhsl(330.89 74.45% 55.49%)
OKLCHoklch(0.62 0.21 355.98)
CMYKcmyk(0% 74.78% 38.5% 11.37%)
Android#ffe2398b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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