Skip to content
Vectorlight.net

#ed398b

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

HEX
#ed398b
RGB
237, 57, 139
HSL
332.67°, 83.33%, 57.65%
OKLCH
0.64 0.22 358.25
Names
—
Lists

Codes

FormatValue
HEX#ed398b
RGBrgb(237 57 139)
HSLhsl(332.67 83.33% 57.65%)
OKLCHoklch(0.64 0.22 358.25)
CMYKcmyk(0% 75.95% 41.35% 7.06%)
Android#ffed398b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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