Skip to content

#eb2d2d

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

RGB
235, 45, 45
HSL
0°, 83%, 55%
CMYK
0, 81, 81, 8
Luminance
0.1973

Every format

HEX#eb2d2d
RGBrgb(235, 45, 45)
HSLhsl(0, 83%, 55%)
CMYKcmyk(0%, 81%, 81%, 8%)
LABlab(51.5 69.6 47.7)
LCHlch(51.5 84.4 34.5)
OKLCHoklch(0.609 0.224 27.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green17.6%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta80.9%
Yellow80.9%
Key (black)7.8%

Color previews

#eb2d2d text on a black background

contrast 4.95:1

Card sample

#eb2d2d text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2d2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2d2d in the Color Lab