Skip to content
Vectorlight.net

#e40147

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

HEX
#e40147
RGB
228, 1, 71
HSL
341.5°, 99.13%, 44.9%
OKLCH
0.58 0.23 16.73
Names
—
Lists

Codes

FormatValue
HEX#e40147
RGBrgb(228 1 71)
HSLhsl(341.5 99.13% 44.9%)
OKLCHoklch(0.58 0.23 16.73)
CMYKcmyk(0% 99.56% 68.86% 10.59%)
Android#ffe40147

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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