Skip to content

#eb2f50

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

RGB
235, 47, 80
HSL
350°, 83%, 55%
CMYK
0, 80, 66, 8
Luminance
0.2027

Every format

HEX#eb2f50
RGBrgb(235, 47, 80)
HSLhsl(350, 83%, 55%)
CMYKcmyk(0%, 80%, 66%, 8%)
LABlab(52.1 70.4 28.6)
LCHlch(52.1 76.0 22.1)
OKLCHoklch(0.615 0.220 17.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2f50 on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#eb2f50 on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow66.0%
Key (black)7.8%

Color previews

#eb2f50 text on a black background

contrast 5.05:1

Card sample

#eb2f50 text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2f50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2f50 in the Color Lab