Skip to content

#fc0d21

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

RGB
252, 13, 33
HSL
355°, 98%, 52%
CMYK
0, 95, 87, 1
Luminance
0.2109

Every format

HEX#fc0d21
RGBrgb(252, 13, 33)
HSLhsl(355, 98%, 52%)
CMYKcmyk(0%, 95%, 87%, 1%)
LABlab(53.1 78.8 56.2)
LCHlch(53.1 96.8 35.5)
OKLCHoklch(0.626 0.252 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0d21 on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#fc0d21 on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta94.8%
Yellow86.9%
Key (black)1.2%

Color previews

#fc0d21 text on a black background

contrast 5.22:1

Card sample

#fc0d21 text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0d21 in the Color Lab