Skip to content
Vectorlight.net

#e40460

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

HEX
#e40460
RGB
228, 4, 96
HSL
335.36°, 96.55%, 45.49%
OKLCH
0.59 0.23 8.72
Names
—
Lists

Codes

FormatValue
HEX#e40460
RGBrgb(228 4 96)
HSLhsl(335.36 96.55% 45.49%)
OKLCHoklch(0.59 0.23 8.72)
CMYKcmyk(0% 98.25% 57.89% 10.59%)
Android#ffe40460

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#e40460"
Gradient stop
<stop stop-color="#e40460"/>
CSS variable + fill
:root { --c: #e40460; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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