Skip to content

#eb261f

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

RGB
235, 38, 31
HSL
2°, 84%, 52%
CMYK
0, 84, 87, 8
Luminance
0.1915

Every format

HEX#eb261f
RGBrgb(235, 38, 31)
HSLhsl(2, 84%, 52%)
CMYKcmyk(0%, 84%, 87%, 8%)
LABlab(50.9 70.9 54.0)
LCHlch(50.9 89.1 37.3)
OKLCHoklch(0.604 0.229 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb261f on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#eb261f on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green14.9%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta83.8%
Yellow86.8%
Key (black)7.8%

Color previews

#eb261f text on a black background

contrast 4.83:1

Card sample

#eb261f text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb261f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb261f in the Color Lab