Skip to content

#eb2d32

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

RGB
235, 45, 50
HSL
358°, 83%, 55%
CMYK
0, 81, 79, 8
Luminance
0.1977

Every format

HEX#eb2d32
RGBrgb(235, 45, 50)
HSLhsl(358, 83%, 55%)
CMYKcmyk(0%, 81%, 79%, 8%)
LABlab(51.6 69.7 45.1)
LCHlch(51.6 83.1 32.9)
OKLCHoklch(0.610 0.223 26.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2d32 on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#eb2d32 on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.6%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta80.9%
Yellow78.7%
Key (black)7.8%

Color previews

#eb2d32 text on a black background

contrast 4.95:1

Card sample

#eb2d32 text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2d32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2d32 in the Color Lab