Skip to content

#eb2f02

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

RGB
235, 47, 2
HSL
12°, 98%, 47%
CMYK
0, 80, 99, 8
Luminance
0.1970

Every format

HEX#eb2f02
RGBrgb(235, 47, 2)
HSLhsl(12, 98%, 47%)
CMYKcmyk(0%, 80%, 99%, 8%)
LABlab(51.5 68.4 63.6)
LCHlch(51.5 93.4 42.9)
OKLCHoklch(0.608 0.226 32.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2f02 on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#eb2f02 on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow99.1%
Key (black)7.8%

Color previews

#eb2f02 text on a black background

contrast 4.94:1

Card sample

#eb2f02 text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2f02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2f02 in the Color Lab