Skip to content

#eb0c20

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

RGB
235, 12, 32
HSL
355°, 90%, 48%
CMYK
0, 95, 86, 8
Luminance
0.1803

Every format

HEX#eb0c20
RGBrgb(235, 12, 32)
HSLhsl(355, 90%, 48%)
CMYKcmyk(0%, 95%, 86%, 8%)
LABlab(49.5 74.7 52.4)
LCHlch(49.5 91.3 35.1)
OKLCHoklch(0.594 0.238 26.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb0c20 on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#eb0c20 on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green4.7%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta94.9%
Yellow86.4%
Key (black)7.8%

Color previews

#eb0c20 text on a black background

contrast 4.61:1

Card sample

#eb0c20 text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb0c20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb0c20 in the Color Lab