#af1d22
a dark, vivid red · warm · “firebrick”
RGB
175, 29, 34
HSL
358°, 72%, 40%
CMYK
0, 83, 81, 31
Luminance
0.1011
Every format
| HEX | #af1d22 |
| RGB | rgb(175, 29, 34) |
| HSL | hsl(358, 72%, 40%) |
| CMYK | cmyk(0%, 83%, 81%, 31%) |
| LAB | lab(38.0 56.4 36.4) |
| LCH | lch(38.0 67.1 32.8) |
| OKLCH | oklch(0.488 0.180 25.8) |
Copy-ready code
/* CSS */
color: #af1d22;
background-color: #af1d22;
/* Tailwind (arbitrary) */
class="text-[#af1d22] bg-[#af1d22]"
/* SCSS */
$brand: #af1d22;
/* SwiftUI */
Color(red: 0.686, green: 0.114, blue: 0.133)
/* Android */
Color.parseColor("#af1d22")Accessibility — WCAG contrast
Aa
#af1d22 on white: 6.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af1d22 on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green11.4%
Blue13.3%
CMYK percentages
Cyan0.0%
Magenta83.4%
Yellow80.6%
Key (black)31.4%
Color previews
#af1d22 text on a black background
contrast 3.02:1
Card sample
#af1d22 text on a white background
contrast 6.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af1d22;
Background color
Panel with #af1d22 background
background-color: #af1d22;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af1d22;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 29, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 29, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af1d22; background: linear-gradient(135deg, #af1d22, #AF791D);