Skip to content

#ec2c2d

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

RGB
236, 44, 45
HSL
360°, 84%, 55%
CMYK
0, 81, 81, 8
Luminance
0.1982

Every format

HEX#ec2c2d
RGBrgb(236, 44, 45)
HSLhsl(360, 84%, 55%)
CMYKcmyk(0%, 81%, 81%, 8%)
LABlab(51.6 70.1 47.9)
LCHlch(51.6 84.9 34.4)
OKLCHoklch(0.610 0.225 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec2c2d on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#ec2c2d on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green17.3%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow80.9%
Key (black)7.5%

Color previews

#ec2c2d text on a black background

contrast 4.96:1

Card sample

#ec2c2d text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2c2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2c2d in the Color Lab