Skip to content

#eb3f21

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

RGB
235, 63, 33
HSL
9°, 84%, 53%
CMYK
0, 73, 86, 8
Luminance
0.2133

Every format

HEX#eb3f21
RGBrgb(235, 63, 33)
HSLhsl(9, 84%, 53%)
CMYKcmyk(0%, 73%, 86%, 8%)
LABlab(53.3 64.1 55.0)
LCHlch(53.3 84.5 40.7)
OKLCHoklch(0.622 0.213 32.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb3f21 on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#eb3f21 on black: 5.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green24.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta73.2%
Yellow86.0%
Key (black)7.8%

Color previews

#eb3f21 text on a black background

contrast 5.27:1

Card sample

#eb3f21 text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb3f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb3f21 in the Color Lab