Skip to content

#eb3b2a

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

RGB
235, 59, 42
HSL
5°, 83%, 54%
CMYK
0, 75, 82, 8
Luminance
0.2096

Every format

HEX#eb3b2a
RGBrgb(235, 59, 42)
HSLhsl(5, 83%, 54%)
CMYKcmyk(0%, 75%, 82%, 8%)
LABlab(52.9 65.6 50.5)
LCHlch(52.9 82.8 37.6)
OKLCHoklch(0.619 0.214 29.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green23.1%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow82.1%
Key (black)7.8%

Color previews

#eb3b2a text on a black background

contrast 5.19:1

Card sample

#eb3b2a text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb3b2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb3b2a in the Color Lab