Skip to content

#fb1c21

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

RGB
251, 28, 33
HSL
359°, 97%, 55%
CMYK
0, 89, 87, 2
Luminance
0.2145

Every format

HEX#fb1c21
RGBrgb(251, 28, 33)
HSLhsl(359, 97%, 55%)
CMYKcmyk(0%, 89%, 87%, 2%)
LABlab(53.5 76.8 56.5)
LCHlch(53.5 95.3 36.3)
OKLCHoklch(0.628 0.246 27.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fb1c21 on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#fb1c21 on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green11.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta88.8%
Yellow86.9%
Key (black)1.6%

Color previews

#fb1c21 text on a black background

contrast 5.29:1

Card sample

#fb1c21 text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb1c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb1c21 in the Color Lab