Skip to content

#ec3c2d

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

RGB
236, 60, 45
HSL
5°, 83%, 55%
CMYK
0, 75, 81, 8
Luminance
0.2125

Every format

HEX#ec3c2d
RGBrgb(236, 60, 45)
HSLhsl(5, 83%, 55%)
CMYKcmyk(0%, 75%, 81%, 8%)
LABlab(53.2 65.6 49.4)
LCHlch(53.2 82.2 37.0)
OKLCHoklch(0.622 0.214 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec3c2d on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#ec3c2d on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green23.5%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta74.6%
Yellow80.9%
Key (black)7.5%

Color previews

#ec3c2d text on a black background

contrast 5.25:1

Card sample

#ec3c2d text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec3c2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec3c2d in the Color Lab