#cf2f26
a balanced, vivid red · warm · closest name: firebrick
RGB
207, 47, 38
HSL
3°, 69%, 48%
CMYK
0, 77, 82, 19
Luminance
0.1544
Every format
| HEX | #cf2f26 |
| RGB | rgb(207, 47, 38) |
| HSL | hsl(3, 69%, 48%) |
| CMYK | cmyk(0%, 77%, 82%, 19%) |
| LAB | lab(46.2 60.8 44.4) |
| LCH | lch(46.2 75.3 36.1) |
| OKLCH | oklch(0.560 0.198 28.6) |
Copy-ready code
/* CSS */
color: #cf2f26;
background-color: #cf2f26;
/* Tailwind (arbitrary) */
class="text-[#cf2f26] bg-[#cf2f26]"
/* SCSS */
$brand: #cf2f26;
/* SwiftUI */
Color(red: 0.812, green: 0.184, blue: 0.149)
/* Android */
Color.parseColor("#cf2f26")Accessibility — WCAG contrast
Aa
#cf2f26 on white: 5.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf2f26 on black: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green18.4%
Blue14.9%
CMYK percentages
Cyan0.0%
Magenta77.3%
Yellow81.6%
Key (black)18.8%
Color previews
#cf2f26 text on a black background
contrast 4.09:1
Card sample
#cf2f26 text on a white background
contrast 5.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf2f26;
Background color
Panel with #cf2f26 background
background-color: #cf2f26;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf2f26;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 47, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 47, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf2f26; background: linear-gradient(135deg, #cf2f26, #CFA026);