#cd2f08
a dark, electric red · warm · closest name: tomato
RGB
205, 47, 8
HSL
12°, 93%, 42%
CMYK
0, 77, 96, 20
Luminance
0.1503
Every format
| HEX | #cd2f08 |
| RGB | rgb(205, 47, 8) |
| HSL | hsl(12, 93%, 42%) |
| CMYK | cmyk(0%, 77%, 96%, 20%) |
| LAB | lab(45.7 59.7 55.9) |
| LCH | lch(45.7 81.8 43.1) |
| OKLCH | oklch(0.555 0.199 33.3) |
Copy-ready code
/* CSS */
color: #cd2f08;
background-color: #cd2f08;
/* Tailwind (arbitrary) */
class="text-[#cd2f08] bg-[#cd2f08]"
/* SCSS */
$brand: #cd2f08;
/* SwiftUI */
Color(red: 0.804, green: 0.184, blue: 0.031)
/* Android */
Color.parseColor("#cd2f08")Accessibility — WCAG contrast
Aa
#cd2f08 on white: 5.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd2f08 on black: 4.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green18.4%
Blue3.1%
CMYK percentages
Cyan0.0%
Magenta77.1%
Yellow96.1%
Key (black)19.6%
Color previews
#cd2f08 text on a black background
contrast 4.01:1
Card sample
#cd2f08 text on a white background
contrast 5.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd2f08;
Background color
Panel with #cd2f08 background
background-color: #cd2f08;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd2f08;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 47, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 47, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd2f08; background: linear-gradient(135deg, #cd2f08, #CDB308);