Skip to content

#ed3b21

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

RGB
237, 59, 33
HSL
8°, 85%, 53%
CMYK
0, 75, 86, 7
Luminance
0.2124

Every format

HEX#ed3b21
RGBrgb(237, 59, 33)
HSLhsl(8, 85%, 53%)
CMYKcmyk(0%, 75%, 86%, 7%)
LABlab(53.2 66.0 55.1)
LCHlch(53.2 86.0 39.9)
OKLCHoklch(0.622 0.217 31.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed3b21 on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#ed3b21 on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green23.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta75.1%
Yellow86.1%
Key (black)7.1%

Color previews

#ed3b21 text on a black background

contrast 5.25:1

Card sample

#ed3b21 text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed3b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed3b21 in the Color Lab