Skip to content

#ec2c3f

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

RGB
236, 44, 63
HSL
354°, 84%, 55%
CMYK
0, 81, 73, 8
Luminance
0.1999

Every format

HEX#ec2c3f
RGBrgb(236, 44, 63)
HSLhsl(354, 84%, 55%)
CMYKcmyk(0%, 81%, 73%, 8%)
LABlab(51.8 70.7 38.2)
LCHlch(51.8 80.3 28.4)
OKLCHoklch(0.612 0.223 22.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green17.3%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow73.3%
Key (black)7.5%

Color previews

#ec2c3f text on a black background

contrast 5.00:1

Card sample

#ec2c3f text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2c3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2c3f in the Color Lab