Skip to content

#eb302d

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

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

Every format

HEX#eb302d
RGBrgb(235, 48, 45)
HSLhsl(1, 83%, 55%)
CMYKcmyk(0%, 80%, 81%, 8%)
LABlab(51.8 68.8 48.0)
LCHlch(51.8 83.9 34.9)
OKLCHoklch(0.611 0.222 27.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green18.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta79.6%
Yellow80.9%
Key (black)7.8%

Color previews

#eb302d text on a black background

contrast 4.99:1

Card sample

#eb302d text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb302d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb302d in the Color Lab