Skip to content

#fc2f02

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

RGB
252, 47, 2
HSL
11°, 98%, 50%
CMYK
0, 81, 99, 1
Luminance
0.2273

Every format

HEX#fc2f02
RGBrgb(252, 47, 2)
HSLhsl(11, 98%, 50%)
CMYKcmyk(0%, 81%, 99%, 1%)
LABlab(54.8 73.2 67.0)
LCHlch(54.8 99.2 42.5)
OKLCHoklch(0.638 0.240 32.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green18.4%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow99.2%
Key (black)1.2%

Color previews

#fc2f02 text on a black background

contrast 5.55:1

Card sample

#fc2f02 text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2f02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2f02 in the Color Lab