Skip to content

#ec2c49

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

RGB
236, 44, 73
HSL
351°, 84%, 55%
CMYK
0, 81, 69, 8
Luminance
0.2012

Every format

HEX#ec2c49
RGBrgb(236, 44, 73)
HSLhsl(351, 84%, 55%)
CMYKcmyk(0%, 81%, 69%, 8%)
LABlab(52.0 71.1 32.5)
LCHlch(52.0 78.2 24.6)
OKLCHoklch(0.614 0.223 19.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec2c49 on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#ec2c49 on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green17.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow69.1%
Key (black)7.5%

Color previews

#ec2c49 text on a black background

contrast 5.02:1

Card sample

#ec2c49 text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2c49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2c49 in the Color Lab