Skip to content
Vectorlight.net

#e1228f

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

HEX
#e1228f
RGB
225, 34, 143
HSL
325.76°, 76.1%, 50.78%
OKLCH
0.61 0.23 352.73
Names
—
Lists

Codes

FormatValue
HEX#e1228f
RGBrgb(225 34 143)
HSLhsl(325.76 76.1% 50.78%)
OKLCHoklch(0.61 0.23 352.73)
CMYKcmyk(0% 84.89% 36.44% 11.76%)
Android#ffe1228f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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