Skip to content
Vectorlight.net

#ea227a

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

HEX
#ea227a
RGB
234, 34, 122
HSL
333.6°, 82.64%, 52.55%
OKLCH
0.62 0.23 1.98
Names
—
Lists

Codes

FormatValue
HEX#ea227a
RGBrgb(234 34 122)
HSLhsl(333.6 82.64% 52.55%)
OKLCHoklch(0.62 0.23 1.98)
CMYKcmyk(0% 85.47% 47.86% 8.24%)
Android#ffea227a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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