Skip to content

#ed2c2f

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

RGB
237, 44, 47
HSL
359°, 84%, 55%
CMYK
0, 81, 80, 7
Luminance
0.2001

Every format

HEX#ed2c2f
RGBrgb(237, 44, 47)
HSLhsl(359, 84%, 55%)
CMYKcmyk(0%, 81%, 80%, 7%)
LABlab(51.9 70.4 47.1)
LCHlch(51.9 84.7 33.8)
OKLCHoklch(0.612 0.226 26.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.9%
Green17.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow80.2%
Key (black)7.1%

Color previews

#ed2c2f text on a black background

contrast 5.00:1

Card sample

#ed2c2f text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2c2f in the Color Lab