#f82b21
a balanced, electric red · warm · closest name: red
RGB
248, 43, 33
HSL
3°, 94%, 55%
CMYK
0, 83, 87, 3
Luminance
0.2179
Every format
| HEX | #f82b21 |
| RGB | rgb(248, 43, 33) |
| HSL | hsl(3, 94%, 55%) |
| CMYK | cmyk(0%, 83%, 87%, 3%) |
| LAB | lab(53.8 73.3 56.5) |
| LCH | lch(53.8 92.5 37.6) |
| OKLCH | oklch(0.630 0.237 29.0) |
Copy-ready code
/* CSS */
color: #f82b21;
background-color: #f82b21;
/* Tailwind (arbitrary) */
class="text-[#f82b21] bg-[#f82b21]"
/* SCSS */
$brand: #f82b21;
/* SwiftUI */
Color(red: 0.973, green: 0.169, blue: 0.129)
/* Android */
Color.parseColor("#f82b21")Accessibility — WCAG contrast
Aa
#f82b21 on white: 3.92:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f82b21 on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.3%
Green16.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta82.7%
Yellow86.7%
Key (black)2.7%
Color previews
#f82b21 text on a black background
contrast 5.36:1
Card sample
#f82b21 text on a white background
contrast 3.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f82b21;
Background color
Panel with #f82b21 background
background-color: #f82b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f82b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(248, 43, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 43, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f82b21; background: linear-gradient(135deg, #f82b21, #F8BA21);