Skip to content
Vectorlight.net

#ea228b

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

HEX
#ea228b
RGB
234, 34, 139
HSL
328.5°, 82.64%, 52.55%
OKLCH
0.62 0.24 356.03
Names
—
Lists

Codes

FormatValue
HEX#ea228b
RGBrgb(234 34 139)
HSLhsl(328.5 82.64% 52.55%)
OKLCHoklch(0.62 0.24 356.03)
CMYKcmyk(0% 85.47% 40.6% 8.24%)
Android#ffea228b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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