#cf261c
a balanced, electric red · warm · closest name: firebrick
RGB
207, 38, 28
HSL
3°, 76%, 46%
CMYK
0, 82, 87, 19
Luminance
0.1474
Every format
| HEX | #cf261c |
| RGB | rgb(207, 38, 28) |
| HSL | hsl(3, 76%, 46%) |
| CMYK | cmyk(0%, 82%, 87%, 19%) |
| LAB | lab(45.3 63.1 48.5) |
| LCH | lch(45.3 79.6 37.6) |
| OKLCH | oklch(0.553 0.205 29.1) |
Copy-ready code
/* CSS */
color: #cf261c;
background-color: #cf261c;
/* Tailwind (arbitrary) */
class="text-[#cf261c] bg-[#cf261c]"
/* SCSS */
$brand: #cf261c;
/* SwiftUI */
Color(red: 0.812, green: 0.149, blue: 0.110)
/* Android */
Color.parseColor("#cf261c")Accessibility — WCAG contrast
Aa
#cf261c on white: 5.32:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf261c on black: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green14.9%
Blue11.0%
CMYK percentages
Cyan0.0%
Magenta81.6%
Yellow86.5%
Key (black)18.8%
Color previews
#cf261c text on a black background
contrast 3.95:1
Card sample
#cf261c text on a white background
contrast 5.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf261c;
Background color
Panel with #cf261c background
background-color: #cf261c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf261c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 38, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 38, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf261c; background: linear-gradient(135deg, #cf261c, #CF9E1C);