Skip to content

#eb2e40

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

RGB
235, 46, 64
HSL
354°, 83%, 55%
CMYK
0, 80, 73, 8
Luminance
0.1999

Every format

HEX#eb2e40
RGBrgb(235, 46, 64)
HSLhsl(354, 83%, 55%)
CMYKcmyk(0%, 80%, 73%, 8%)
LABlab(51.8 70.0 37.6)
LCHlch(51.8 79.4 28.2)
OKLCHoklch(0.612 0.221 22.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2e40 on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#eb2e40 on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.0%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta80.4%
Yellow72.8%
Key (black)7.8%

Color previews

#eb2e40 text on a black background

contrast 5.00:1

Card sample

#eb2e40 text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2e40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2e40 in the Color Lab