Skip to content
Vectorlight.net

#ea152a

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

HEX
#ea152a
RGB
234, 21, 42
HSL
354.08°, 83.53%, 50%
OKLCH
0.6 0.23 25.32
Names
—
Lists

Codes

FormatValue
HEX#ea152a
RGBrgb(234 21 42)
HSLhsl(354.08 83.53% 50%)
OKLCHoklch(0.6 0.23 25.32)
CMYKcmyk(0% 91.03% 82.05% 8.24%)
Android#ffea152a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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