#f6281b
a balanced, electric red · warm · closest name: red
RGB
246, 40, 27
HSL
4°, 92%, 54%
CMYK
0, 84, 89, 4
Luminance
0.2119
Every format
| HEX | #f6281b |
| RGB | rgb(246, 40, 27) |
| HSL | hsl(4, 92%, 54%) |
| CMYK | cmyk(0%, 84%, 89%, 4%) |
| LAB | lab(53.2 73.3 58.3) |
| LCH | lch(53.2 93.7 38.5) |
| OKLCH | oklch(0.625 0.238 29.5) |
Copy-ready code
/* CSS */
color: #f6281b;
background-color: #f6281b;
/* Tailwind (arbitrary) */
class="text-[#f6281b] bg-[#f6281b]"
/* SCSS */
$brand: #f6281b;
/* SwiftUI */
Color(red: 0.965, green: 0.157, blue: 0.106)
/* Android */
Color.parseColor("#f6281b")Accessibility — WCAG contrast
Aa
#f6281b on white: 4.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f6281b on black: 5.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.5%
Green15.7%
Blue10.6%
CMYK percentages
Cyan0.0%
Magenta83.7%
Yellow89.0%
Key (black)3.5%
Color previews
#f6281b text on a black background
contrast 5.24:1
Card sample
#f6281b text on a white background
contrast 4.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f6281b;
Background color
Panel with #f6281b background
background-color: #f6281b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f6281b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(246, 40, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 40, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f6281b; background: linear-gradient(135deg, #f6281b, #F6BA1B);