Skip to content

#eb3021

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

RGB
235, 48, 33
HSL
5°, 84%, 53%
CMYK
0, 80, 86, 8
Luminance
0.1989

Every format

HEX#eb3021
RGBrgb(235, 48, 33)
HSLhsl(5, 84%, 53%)
CMYKcmyk(0%, 80%, 86%, 8%)
LABlab(51.7 68.5 53.8)
LCHlch(51.7 87.1 38.1)
OKLCHoklch(0.610 0.223 29.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb3021 on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#eb3021 on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta79.6%
Yellow86.0%
Key (black)7.8%

Color previews

#eb3021 text on a black background

contrast 4.98:1

Card sample

#eb3021 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb3021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb3021 in the Color Lab