Skip to content

#fc2f0c

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

RGB
252, 47, 12
HSL
9°, 98%, 52%
CMYK
0, 81, 95, 1
Luminance
0.2276

Every format

HEX#fc2f0c
RGBrgb(252, 47, 12)
HSLhsl(9, 98%, 52%)
CMYKcmyk(0%, 81%, 95%, 1%)
LABlab(54.8 73.2 64.7)
LCHlch(54.8 97.7 41.5)
OKLCHoklch(0.639 0.240 31.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green18.4%
Blue4.7%

CMYK percentages

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

Color previews

#fc2f0c text on a black background

contrast 5.55:1

Card sample

#fc2f0c text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2f0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2f0c in the Color Lab