Skip to content
Vectorlight.net

#ea1f28

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

HEX
#ea1f28
RGB
234, 31, 40
HSL
357.34°, 82.86%, 51.96%
OKLCH
0.6 0.23 26.47
Names
—
Lists

Codes

FormatValue
HEX#ea1f28
RGBrgb(234 31 40)
HSLhsl(357.34 82.86% 51.96%)
OKLCHoklch(0.6 0.23 26.47)
CMYKcmyk(0% 86.75% 82.91% 8.24%)
Android#ffea1f28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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