#af231d
a dark, vivid red · warm · “firebrick”
RGB
175, 35, 29
HSL
3°, 72%, 40%
CMYK
0, 80, 83, 31
Luminance
0.1040
Every format
| HEX | #af231d |
| RGB | rgb(175, 35, 29) |
| HSL | hsl(3, 72%, 40%) |
| CMYK | cmyk(0%, 80%, 83%, 31%) |
| LAB | lab(38.6 54.6 39.6) |
| LCH | lch(38.6 67.5 36.0) |
| OKLCH | oklch(0.491 0.177 28.3) |
Copy-ready code
/* CSS */
color: #af231d;
background-color: #af231d;
/* Tailwind (arbitrary) */
class="text-[#af231d] bg-[#af231d]"
/* SCSS */
$brand: #af231d;
/* SwiftUI */
Color(red: 0.686, green: 0.137, blue: 0.114)
/* Android */
Color.parseColor("#af231d")Accessibility — WCAG contrast
Aa
#af231d on white: 6.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af231d on black: 3.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green13.7%
Blue11.4%
CMYK percentages
Cyan0.0%
Magenta80.0%
Yellow83.4%
Key (black)31.4%
Color previews
#af231d text on a black background
contrast 3.08:1
Card sample
#af231d text on a white background
contrast 6.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af231d;
Background color
Panel with #af231d background
background-color: #af231d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af231d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 35, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 35, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af231d; background: linear-gradient(135deg, #af231d, #AF841D);