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