Skip to content

#fc2e21

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

RGB
252, 46, 33
HSL
4°, 97%, 56%
CMYK
0, 82, 87, 1
Luminance
0.2276

Every format

HEX#fc2e21
RGBrgb(252, 46, 33)
HSLhsl(4, 97%, 56%)
CMYKcmyk(0%, 82%, 87%, 1%)
LABlab(54.8 73.7 57.6)
LCHlch(54.8 93.6 38.0)
OKLCHoklch(0.639 0.239 29.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2e21 on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#fc2e21 on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow86.9%
Key (black)1.2%

Color previews

#fc2e21 text on a black background

contrast 5.55:1

Card sample

#fc2e21 text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2e21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2e21 in the Color Lab