Skip to content

#ea2f21

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

RGB
234, 47, 33
HSL
4°, 83%, 52%
CMYK
0, 80, 86, 8
Luminance
0.1964

Every format

HEX#ea2f21
RGBrgb(234, 47, 33)
HSLhsl(4, 83%, 52%)
CMYKcmyk(0%, 80%, 86%, 8%)
LABlab(51.4 68.5 53.4)
LCHlch(51.4 86.9 38.0)
OKLCHoklch(0.608 0.223 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ea2f21 on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#ea2f21 on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta79.9%
Yellow85.9%
Key (black)8.2%

Color previews

#ea2f21 text on a black background

contrast 4.93:1

Card sample

#ea2f21 text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ea2f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ea2f21 in the Color Lab