Skip to content

#ec3f49

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

RGB
236, 63, 73
HSL
357°, 82%, 59%
CMYK
0, 73, 69, 8
Luminance
0.2187

Every format

HEX#ec3f49
RGBrgb(236, 63, 73)
HSLhsl(357, 82%, 59%)
CMYKcmyk(0%, 73%, 69%, 8%)
LABlab(53.9 65.7 34.9)
LCHlch(53.9 74.4 28.0)
OKLCHoklch(0.628 0.209 22.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec3f49 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#ec3f49 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green24.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta73.3%
Yellow69.1%
Key (black)7.5%

Color previews

#ec3f49 text on a black background

contrast 5.37:1

Card sample

#ec3f49 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec3f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec3f49 in the Color Lab