Skip to content

#eb2c1f

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

RGB
235, 44, 31
HSL
4°, 84%, 52%
CMYK
0, 81, 87, 8
Luminance
0.1956

Every format

HEX#eb2c1f
RGBrgb(235, 44, 31)
HSLhsl(4, 84%, 52%)
CMYKcmyk(0%, 81%, 87%, 8%)
LABlab(51.4 69.5 54.3)
LCHlch(51.4 88.2 38.0)
OKLCHoklch(0.607 0.226 29.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2c1f on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#eb2c1f on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.3%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow86.8%
Key (black)7.8%

Color previews

#eb2c1f text on a black background

contrast 4.91:1

Card sample

#eb2c1f text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2c1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2c1f in the Color Lab