Skip to content

#eb302c

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

RGB
235, 48, 44
HSL
1°, 83%, 55%
CMYK
0, 80, 81, 8
Luminance
0.1996

Every format

HEX#eb302c
RGBrgb(235, 48, 44)
HSLhsl(1, 83%, 55%)
CMYKcmyk(0%, 80%, 81%, 8%)
LABlab(51.8 68.8 48.5)
LCHlch(51.8 84.2 35.2)
OKLCHoklch(0.611 0.222 27.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb302c on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#eb302c on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta79.6%
Yellow81.3%
Key (black)7.8%

Color previews

#eb302c text on a black background

contrast 4.99:1

Card sample

#eb302c text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb302c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb302c in the Color Lab