Skip to content

#ea0c21

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

RGB
234, 12, 33
HSL
354°, 90%, 48%
CMYK
0, 95, 86, 8
Luminance
0.1787

Every format

HEX#ea0c21
RGBrgb(234, 12, 33)
HSLhsl(354, 90%, 48%)
CMYKcmyk(0%, 95%, 86%, 8%)
LABlab(49.3 74.5 51.7)
LCHlch(49.3 90.7 34.8)
OKLCHoklch(0.592 0.237 26.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ea0c21 on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#ea0c21 on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green4.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta94.9%
Yellow85.9%
Key (black)8.2%

Color previews

#ea0c21 text on a black background

contrast 4.57:1

Card sample

#ea0c21 text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ea0c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ea0c21 in the Color Lab