Skip to content

#f01c21

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

RGB
240, 28, 33
HSL
359°, 88%, 53%
CMYK
0, 88, 86, 6
Luminance
0.1947

Every format

HEX#f01c21
RGBrgb(240, 28, 33)
HSLhsl(359, 88%, 53%)
CMYKcmyk(0%, 88%, 86%, 6%)
LABlab(51.2 74.1 53.8)
LCHlch(51.2 91.5 36.0)
OKLCHoklch(0.608 0.237 27.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f01c21 on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#f01c21 on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green11.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta88.3%
Yellow86.3%
Key (black)5.9%

Color previews

#f01c21 text on a black background

contrast 4.89:1

Card sample

#f01c21 text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f01c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f01c21 in the Color Lab