Skip to content

#eb040d

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

RGB
235, 4, 13
HSL
358°, 97%, 47%
CMYK
0, 98, 95, 8
Luminance
0.1778

Every format

HEX#eb040d
RGBrgb(235, 4, 13)
HSLhsl(358, 97%, 47%)
CMYKcmyk(0%, 98%, 95%, 8%)
LABlab(49.2 75.1 59.7)
LCHlch(49.2 95.9 38.5)
OKLCHoklch(0.592 0.241 28.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb040d on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#eb040d on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green1.6%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta98.3%
Yellow94.5%
Key (black)7.8%

Color previews

#eb040d text on a black background

contrast 4.56:1

Card sample

#eb040d text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb040d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb040d in the Color Lab