Skip to content

#ea1f21

a balanced, electric red · warm · closest name: red

RGB
234, 31, 33
HSL
359°, 83%, 52%
CMYK
0, 87, 86, 8
Luminance
0.1858

Every format

HEX#ea1f21
RGBrgb(234, 31, 33)
HSLhsl(359, 83%, 52%)
CMYKcmyk(0%, 87%, 86%, 8%)
LABlab(50.2 72.0 52.4)
LCHlch(50.2 89.1 36.1)
OKLCHoklch(0.599 0.231 27.7)

Copy-ready code

/* CSS */
color: #ea1f21;
background-color: #ea1f21;
/* Tailwind (arbitrary) */
class="text-[#ea1f21] bg-[#ea1f21]"
/* SCSS */
$brand: #ea1f21;
/* SwiftUI */
Color(red: 0.918, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#ea1f21")

Accessibility — WCAG contrast

Aa
#ea1f21 on white: 4.45:1
AA ✗ fail · AA-large · AAA
Aa
#ea1f21 on black: 4.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green12.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta86.8%
Yellow85.9%
Key (black)8.2%

Color previews

#ea1f21 text on a black background

contrast 4.72:1

Card sample

#ea1f21 text on a white background

contrast 4.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ea1f21;
Background color
Panel with #ea1f21 background
background-color: #ea1f21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ea1f21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(234, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ea1f21;
background: linear-gradient(135deg, #ea1f21, #EAA41F);

Monochromatic scale

Palettes built from #ea1f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ea1f21 in the Color Lab