Skip to content
Vectorlight.net

#e1287a

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

HEX
#e1287a
RGB
225, 40, 122
HSL
333.41°, 75.51%, 51.96%
OKLCH
0.6 0.22 0.71
Names
—
Lists

Codes

FormatValue
HEX#e1287a
RGBrgb(225 40 122)
HSLhsl(333.41 75.51% 51.96%)
OKLCHoklch(0.6 0.22 0.71)
CMYKcmyk(0% 82.22% 45.78% 11.76%)
Android#ffe1287a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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