Skip to content

#eb3b28

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

RGB
235, 59, 40
HSL
6°, 83%, 54%
CMYK
0, 75, 83, 8
Luminance
0.2094

Every format

HEX#eb3b28
RGBrgb(235, 59, 40)
HSLhsl(6, 83%, 54%)
CMYKcmyk(0%, 75%, 83%, 8%)
LABlab(52.9 65.5 51.5)
LCHlch(52.9 83.3 38.2)
OKLCHoklch(0.619 0.215 30.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb3b28 on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#eb3b28 on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green23.1%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow83.0%
Key (black)7.8%

Color previews

#eb3b28 text on a black background

contrast 5.19:1

Card sample

#eb3b28 text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb3b28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb3b28 in the Color Lab