Skip to content
Vectorlight.net

#e40285

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

HEX
#e40285
RGB
228, 2, 133
HSL
325.22°, 98.26%, 45.1%
OKLCH
0.6 0.24 355.88
Names
—
Lists

Codes

FormatValue
HEX#e40285
RGBrgb(228 2 133)
HSLhsl(325.22 98.26% 45.1%)
OKLCHoklch(0.6 0.24 355.88)
CMYKcmyk(0% 99.12% 41.67% 10.59%)
Android#ffe40285

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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