Skip to content

#ec2c2c

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

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

Every format

HEX#ec2c2c
RGBrgb(236, 44, 44)
HSLhsl(0, 84%, 55%)
CMYKcmyk(0%, 81%, 81%, 8%)
LABlab(51.6 70.1 48.4)
LCHlch(51.6 85.2 34.6)
OKLCHoklch(0.610 0.225 27.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow81.4%
Key (black)7.5%

Color previews

#ec2c2c text on a black background

contrast 4.96:1

Card sample

#ec2c2c text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2c2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2c2c in the Color Lab