Skip to content

#fe2f2e

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

RGB
254, 47, 46
HSL
0°, 99%, 59%
CMYK
0, 82, 82, 0
Luminance
0.2330

Every format

HEX#fe2f2e
RGBrgb(254, 47, 46)
HSLhsl(0, 99%, 59%)
CMYKcmyk(0%, 82%, 82%, 0%)
LABlab(55.4 74.3 52.2)
LCHlch(55.4 90.8 35.1)
OKLCHoklch(0.644 0.239 27.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2f2e on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#fe2f2e on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green18.4%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta81.5%
Yellow81.9%
Key (black)0.4%

Color previews

#fe2f2e text on a black background

contrast 5.66:1

Card sample

#fe2f2e text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2f2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2f2e in the Color Lab