#a62f13
a dark, electric red · warm · closest name: firebrick
RGB
166, 47, 19
HSL
11°, 80%, 36%
CMYK
0, 72, 89, 35
Luminance
0.1019
Every format
| HEX | #a62f13 |
| RGB | rgb(166, 47, 19) |
| HSL | hsl(11, 80%, 36%) |
| CMYK | cmyk(0%, 72%, 89%, 35%) |
| LAB | lab(38.2 47.4 43.5) |
| LCH | lch(38.2 64.3 42.5) |
| OKLCH | oklch(0.485 0.160 34.1) |
Copy-ready code
/* CSS */
color: #a62f13;
background-color: #a62f13;
/* Tailwind (arbitrary) */
class="text-[#a62f13] bg-[#a62f13]"
/* SCSS */
$brand: #a62f13;
/* SwiftUI */
Color(red: 0.651, green: 0.184, blue: 0.075)
/* Android */
Color.parseColor("#a62f13")Accessibility — WCAG contrast
Aa
#a62f13 on white: 6.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a62f13 on black: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green18.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta71.7%
Yellow88.6%
Key (black)34.9%
Color previews
#a62f13 text on a black background
contrast 3.04:1
Card sample
#a62f13 text on a white background
contrast 6.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a62f13;
Background color
Panel with #a62f13 background
background-color: #a62f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a62f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 47, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 47, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a62f13; background: linear-gradient(135deg, #a62f13, #A69113);