Skip to content

#eb2102

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

RGB
235, 33, 2
HSL
8°, 98%, 47%
CMYK
0, 86, 99, 8
Luminance
0.1875

Every format

HEX#eb2102
RGBrgb(235, 33, 2)
HSLhsl(8, 98%, 47%)
CMYKcmyk(0%, 86%, 99%, 8%)
LABlab(50.4 71.5 63.1)
LCHlch(50.4 95.4 41.4)
OKLCHoklch(0.600 0.233 31.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2102 on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#eb2102 on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green12.9%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta86.0%
Yellow99.1%
Key (black)7.8%

Color previews

#eb2102 text on a black background

contrast 4.75:1

Card sample

#eb2102 text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2102

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2102 in the Color Lab