Skip to content
Vectorlight.net

#e2287f

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

HEX
#e2287f
RGB
226, 40, 127
HSL
331.94°, 76.23%, 52.16%
OKLCH
0.61 0.22 359.06
Names
—
Lists

Codes

FormatValue
HEX#e2287f
RGBrgb(226 40 127)
HSLhsl(331.94 76.23% 52.16%)
OKLCHoklch(0.61 0.22 359.06)
CMYKcmyk(0% 82.3% 43.81% 11.37%)
Android#ffe2287f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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