#ae1f21
a dark, vivid red · warm · “firebrick”
RGB
174, 31, 33
HSL
359°, 70%, 40%
CMYK
0, 82, 81, 32
Luminance
0.1009
Every format
| HEX | #ae1f21 |
| RGB | rgb(174, 31, 33) |
| HSL | hsl(359, 70%, 40%) |
| CMYK | cmyk(0%, 82%, 81%, 32%) |
| LAB | lab(38.0 55.5 36.8) |
| LCH | lch(38.0 66.6 33.6) |
| OKLCH | oklch(0.487 0.178 26.4) |
Copy-ready code
/* CSS */
color: #ae1f21;
background-color: #ae1f21;
/* Tailwind (arbitrary) */
class="text-[#ae1f21] bg-[#ae1f21]"
/* SCSS */
$brand: #ae1f21;
/* SwiftUI */
Color(red: 0.682, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#ae1f21")Accessibility — WCAG contrast
Aa
#ae1f21 on white: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ae1f21 on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green12.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta82.2%
Yellow81.0%
Key (black)31.8%
Color previews
#ae1f21 text on a black background
contrast 3.02:1
Card sample
#ae1f21 text on a white background
contrast 6.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae1f21;
Background color
Panel with #ae1f21 background
background-color: #ae1f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae1f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae1f21; background: linear-gradient(135deg, #ae1f21, #AE7C1F);