Skip to content

#eb2f20

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

RGB
235, 47, 32
HSL
4°, 84%, 52%
CMYK
0, 80, 86, 8
Luminance
0.1980

Every format

HEX#eb2f20
RGBrgb(235, 47, 32)
HSLhsl(4, 84%, 52%)
CMYKcmyk(0%, 80%, 86%, 8%)
LABlab(51.6 68.8 54.1)
LCHlch(51.6 87.5 38.2)
OKLCHoklch(0.609 0.224 29.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2f20 on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#eb2f20 on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow86.4%
Key (black)7.8%

Color previews

#eb2f20 text on a black background

contrast 4.96:1

Card sample

#eb2f20 text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2f20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2f20 in the Color Lab