Skip to content

#eb2850

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

RGB
235, 40, 80
HSL
348°, 83%, 54%
CMYK
0, 83, 66, 8
Luminance
0.1976

Every format

HEX#eb2850
RGBrgb(235, 40, 80)
HSLhsl(348, 83%, 54%)
CMYKcmyk(0%, 83%, 66%, 8%)
LABlab(51.6 72.1 27.9)
LCHlch(51.6 77.3 21.1)
OKLCHoklch(0.611 0.224 17.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2850 on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#eb2850 on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green15.7%
Blue31.4%

CMYK percentages

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

Color previews

#eb2850 text on a black background

contrast 4.95:1

Card sample

#eb2850 text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2850

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2850 in the Color Lab