Skip to content

#ec491f

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

RGB
236, 73, 31
HSL
12°, 84%, 52%
CMYK
0, 69, 87, 8
Luminance
0.2270

Every format

HEX#ec491f
RGBrgb(236, 73, 31)
HSLhsl(12, 84%, 52%)
CMYKcmyk(0%, 69%, 87%, 8%)
LABlab(54.8 60.8 57.1)
LCHlch(54.8 83.4 43.2)
OKLCHoklch(0.633 0.206 34.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec491f on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#ec491f on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green28.6%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta69.1%
Yellow86.9%
Key (black)7.5%

Color previews

#ec491f text on a black background

contrast 5.54:1

Card sample

#ec491f text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec491f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec491f in the Color Lab