Skip to content
Vectorlight.net

#e40494

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

HEX
#e40494
RGB
228, 4, 148
HSL
321.43°, 96.55%, 45.49%
OKLCH
0.61 0.25 350.91
Names
—
Lists

Codes

FormatValue
HEX#e40494
RGBrgb(228 4 148)
HSLhsl(321.43 96.55% 45.49%)
OKLCHoklch(0.61 0.25 350.91)
CMYKcmyk(0% 98.25% 35.09% 10.59%)
Android#ffe40494

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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