Skip to content

#f00021

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

RGB
240, 0, 33
HSL
352°, 100%, 47%
CMYK
0, 100, 86, 6
Luminance
0.1864

Every format

HEX#f00021
RGBrgb(240, 0, 33)
HSLhsl(352, 100%, 47%)
CMYKcmyk(0%, 100%, 86%, 6%)
LABlab(50.3 76.9 53.0)
LCHlch(50.3 93.3 34.6)
OKLCHoklch(0.601 0.244 26.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f00021 on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#f00021 on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green0.0%
Blue12.9%

CMYK percentages

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

Color previews

#f00021 text on a black background

contrast 4.73:1

Card sample

#f00021 text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f00021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f00021 in the Color Lab