Skip to content

#ec280c

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

RGB
236, 40, 12
HSL
8°, 90%, 49%
CMYK
0, 83, 95, 8
Luminance
0.1938

Every format

HEX#ec280c
RGBrgb(236, 40, 12)
HSLhsl(8, 90%, 49%)
CMYKcmyk(0%, 83%, 95%, 8%)
LABlab(51.1 70.5 61.1)
LCHlch(51.1 93.2 40.9)
OKLCHoklch(0.606 0.230 31.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec280c on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#ec280c on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green15.7%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta83.1%
Yellow94.9%
Key (black)7.5%

Color previews

#ec280c text on a black background

contrast 4.88:1

Card sample

#ec280c text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec280c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec280c in the Color Lab