Skip to content

#ef2f2f

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

RGB
239, 47, 47
HSL
0°, 86%, 56%
CMYK
0, 80, 80, 6
Luminance
0.2059

Every format

HEX#ef2f2f
RGBrgb(239, 47, 47)
HSLhsl(0, 86%, 56%)
CMYKcmyk(0%, 80%, 80%, 6%)
LABlab(52.5 70.2 47.9)
LCHlch(52.5 85.0 34.3)
OKLCHoklch(0.618 0.226 27.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2f2f on white: 4.10:1
AA ✗ fail · AA-large · AAA
Aa
#ef2f2f on black: 5.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green18.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow80.3%
Key (black)6.3%

Color previews

#ef2f2f text on a black background

contrast 5.12:1

Card sample

#ef2f2f text on a white background

contrast 4.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2f2f in the Color Lab