#cd3b12
a dark, electric red · warm · closest name: tomato
RGB
205, 59, 18
HSL
13°, 84%, 44%
CMYK
0, 71, 91, 20
Luminance
0.1615
Every format
| HEX | #cd3b12 |
| RGB | rgb(205, 59, 18) |
| HSL | hsl(13, 84%, 44%) |
| CMYK | cmyk(0%, 71%, 91%, 20%) |
| LAB | lab(47.2 55.8 53.8) |
| LCH | lch(47.2 77.5 44.0) |
| OKLCH | oklch(0.566 0.189 35.0) |
Copy-ready code
/* CSS */
color: #cd3b12;
background-color: #cd3b12;
/* Tailwind (arbitrary) */
class="text-[#cd3b12] bg-[#cd3b12]"
/* SCSS */
$brand: #cd3b12;
/* SwiftUI */
Color(red: 0.804, green: 0.231, blue: 0.071)
/* Android */
Color.parseColor("#cd3b12")Accessibility — WCAG contrast
Aa
#cd3b12 on white: 4.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd3b12 on black: 4.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green23.1%
Blue7.1%
CMYK percentages
Cyan0.0%
Magenta71.2%
Yellow91.2%
Key (black)19.6%
Color previews
#cd3b12 text on a black background
contrast 4.23:1
Card sample
#cd3b12 text on a white background
contrast 4.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd3b12;
Background color
Panel with #cd3b12 background
background-color: #cd3b12;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd3b12;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 59, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 59, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd3b12; background: linear-gradient(135deg, #cd3b12, #CDB812);