Skip to content

#ef2721

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

RGB
239, 39, 33
HSL
2°, 87%, 53%
CMYK
0, 84, 86, 6
Luminance
0.1991

Every format

HEX#ef2721
RGBrgb(239, 39, 33)
HSLhsl(2, 87%, 53%)
CMYKcmyk(0%, 84%, 86%, 6%)
LABlab(51.7 71.8 54.1)
LCHlch(51.7 89.9 37.0)
OKLCHoklch(0.612 0.232 28.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2721 on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#ef2721 on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green15.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta83.7%
Yellow86.2%
Key (black)6.3%

Color previews

#ef2721 text on a black background

contrast 4.98:1

Card sample

#ef2721 text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2721 in the Color Lab