#f42021
a balanced, electric red · warm · closest name: red
RGB
244, 32, 33
HSL
360°, 91%, 54%
CMYK
0, 87, 87, 4
Luminance
0.2038
Every format
| HEX | #f42021 |
| RGB | rgb(244, 32, 33) |
| HSL | hsl(360, 91%, 54%) |
| CMYK | cmyk(0%, 87%, 87%, 4%) |
| LAB | lab(52.3 74.4 54.9) |
| LCH | lch(52.3 92.5 36.4) |
| OKLCH | oklch(0.617 0.239 27.9) |
Copy-ready code
/* CSS */
color: #f42021;
background-color: #f42021;
/* Tailwind (arbitrary) */
class="text-[#f42021] bg-[#f42021]"
/* SCSS */
$brand: #f42021;
/* SwiftUI */
Color(red: 0.957, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#f42021")Accessibility — WCAG contrast
Aa
#f42021 on white: 4.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f42021 on black: 5.08:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green12.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta86.9%
Yellow86.5%
Key (black)4.3%
Color previews
#f42021 text on a black background
contrast 5.08:1
Card sample
#f42021 text on a white background
contrast 4.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f42021;
Background color
Panel with #f42021 background
background-color: #f42021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f42021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f42021; background: linear-gradient(135deg, #f42021, #F4AC20);