Skip to content

#eb1f45

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

RGB
235, 31, 69
HSL
349°, 84%, 52%
CMYK
0, 87, 71, 8
Luminance
0.1907

Every format

HEX#eb1f45
RGBrgb(235, 31, 69)
HSLhsl(349, 84%, 52%)
CMYKcmyk(0%, 87%, 71%, 8%)
LABlab(50.8 73.4 33.4)
LCHlch(50.8 80.6 24.5)
OKLCHoklch(0.604 0.229 19.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb1f45 on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#eb1f45 on black: 4.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green12.2%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta86.8%
Yellow70.6%
Key (black)7.8%

Color previews

#eb1f45 text on a black background

contrast 4.81:1

Card sample

#eb1f45 text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb1f45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb1f45 in the Color Lab