Skip to content

#eb2f30

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

RGB
235, 47, 48
HSL
360°, 83%, 55%
CMYK
0, 80, 80, 8
Luminance
0.1991

Every format

HEX#eb2f30
RGBrgb(235, 47, 48)
HSLhsl(360, 83%, 55%)
CMYKcmyk(0%, 80%, 80%, 8%)
LABlab(51.7 69.2 46.4)
LCHlch(51.7 83.3 33.8)
OKLCHoklch(0.611 0.222 26.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green18.4%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow79.6%
Key (black)7.8%

Color previews

#eb2f30 text on a black background

contrast 4.98:1

Card sample

#eb2f30 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2f30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2f30 in the Color Lab