#af2721
a dark, vivid red · warm · “firebrick”
RGB
175, 39, 33
HSL
3°, 68%, 41%
CMYK
0, 78, 81, 31
Luminance
0.1067
Every format
| HEX | #af2721 |
| RGB | rgb(175, 39, 33) |
| HSL | hsl(3, 68%, 41%) |
| CMYK | cmyk(0%, 78%, 81%, 31%) |
| LAB | lab(39.0 53.5 37.9) |
| LCH | lch(39.0 65.6 35.3) |
| OKLCH | oklch(0.495 0.173 28.1) |
Copy-ready code
/* CSS */
color: #af2721;
background-color: #af2721;
/* Tailwind (arbitrary) */
class="text-[#af2721] bg-[#af2721]"
/* SCSS */
$brand: #af2721;
/* SwiftUI */
Color(red: 0.686, green: 0.153, blue: 0.129)
/* Android */
Color.parseColor("#af2721")Accessibility — WCAG contrast
Aa
#af2721 on white: 6.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af2721 on black: 3.13:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green15.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta77.7%
Yellow81.1%
Key (black)31.4%
Color previews
#af2721 text on a black background
contrast 3.13:1
Card sample
#af2721 text on a white background
contrast 6.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af2721;
Background color
Panel with #af2721 background
background-color: #af2721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af2721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 39, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 39, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af2721; background: linear-gradient(135deg, #af2721, #AF8621);