#af360f
a dark, electric red · warm · closest name: firebrick
RGB
175, 54, 15
HSL
15°, 84%, 37%
CMYK
0, 69, 91, 31
Luminance
0.1179
Every format
| HEX | #af360f |
| RGB | rgb(175, 54, 15) |
| HSL | hsl(15, 84%, 37%) |
| CMYK | cmyk(0%, 69%, 91%, 31%) |
| LAB | lab(40.9 47.6 47.9) |
| LCH | lch(40.9 67.5 45.1) |
| OKLCH | oklch(0.508 0.164 36.3) |
Copy-ready code
/* CSS */
color: #af360f;
background-color: #af360f;
/* Tailwind (arbitrary) */
class="text-[#af360f] bg-[#af360f]"
/* SCSS */
$brand: #af360f;
/* SwiftUI */
Color(red: 0.686, green: 0.212, blue: 0.059)
/* Android */
Color.parseColor("#af360f")Accessibility — WCAG contrast
Aa
#af360f on white: 6.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af360f on black: 3.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green21.2%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta69.1%
Yellow91.4%
Key (black)31.4%
Color previews
#af360f text on a black background
contrast 3.36:1
Card sample
#af360f text on a white background
contrast 6.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af360f;
Background color
Panel with #af360f background
background-color: #af360f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af360f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 54, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 54, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af360f; background: linear-gradient(135deg, #af360f, #AFA10F);