#d82f13
a balanced, electric red · warm · closest name: tomato
RGB
216, 47, 19
HSL
9°, 84%, 46%
CMYK
0, 78, 91, 15
Luminance
0.1668
Every format
| HEX | #d82f13 |
| RGB | rgb(216, 47, 19) |
| HSL | hsl(9, 84%, 46%) |
| CMYK | cmyk(0%, 78%, 91%, 15%) |
| LAB | lab(47.9 63.1 54.9) |
| LCH | lch(47.9 83.7 41.0) |
| OKLCH | oklch(0.575 0.208 31.8) |
Copy-ready code
/* CSS */
color: #d82f13;
background-color: #d82f13;
/* Tailwind (arbitrary) */
class="text-[#d82f13] bg-[#d82f13]"
/* SCSS */
$brand: #d82f13;
/* SwiftUI */
Color(red: 0.847, green: 0.184, blue: 0.075)
/* Android */
Color.parseColor("#d82f13")Accessibility — WCAG contrast
Aa
#d82f13 on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#d82f13 on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.7%
Green18.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta78.2%
Yellow91.2%
Key (black)15.3%
Color previews
#d82f13 text on a black background
contrast 4.34:1
Card sample
#d82f13 text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d82f13;
Background color
Panel with #d82f13 background
background-color: #d82f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d82f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(216, 47, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 47, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d82f13; background: linear-gradient(135deg, #d82f13, #D8B213);