Skip to content

#f12f21

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

RGB
241, 47, 33
HSL
4°, 88%, 54%
CMYK
0, 81, 86, 6
Luminance
0.2084

Every format

HEX#f12f21
RGBrgb(241, 47, 33)
HSLhsl(4, 88%, 54%)
CMYKcmyk(0%, 81%, 86%, 6%)
LABlab(52.8 70.5 55.1)
LCHlch(52.8 89.5 38.0)
OKLCHoklch(0.620 0.229 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f12f21 on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#f12f21 on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta80.5%
Yellow86.3%
Key (black)5.5%

Color previews

#f12f21 text on a black background

contrast 5.17:1

Card sample

#f12f21 text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f12f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f12f21 in the Color Lab