Skip to content

#e22f21

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

RGB
226, 47, 33
HSL
4°, 77%, 51%
CMYK
0, 79, 85, 11
Luminance
0.1831

Every format

HEX#e22f21
RGBrgb(226, 47, 33)
HSLhsl(4, 77%, 51%)
CMYKcmyk(0%, 79%, 85%, 11%)
LABlab(49.9 66.3 51.5)
LCHlch(49.9 83.9 37.9)
OKLCHoklch(0.593 0.216 29.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e22f21 on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#e22f21 on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta79.2%
Yellow85.4%
Key (black)11.4%

Color previews

#e22f21 text on a black background

contrast 4.66:1

Card sample

#e22f21 text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e22f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e22f21 in the Color Lab