#af2f20
a dark, vivid red · warm · closest name: firebrick
RGB
175, 47, 32
HSL
6°, 69%, 41%
CMYK
0, 73, 82, 31
Luminance
0.1125
Every format
| HEX | #af2f20 |
| RGB | rgb(175, 47, 32) |
| HSL | hsl(6, 69%, 41%) |
| CMYK | cmyk(0%, 73%, 82%, 31%) |
| LAB | lab(40.0 50.7 39.4) |
| LCH | lch(40.0 64.3 37.8) |
| OKLCH | oklch(0.502 0.167 30.4) |
Copy-ready code
/* CSS */
color: #af2f20;
background-color: #af2f20;
/* Tailwind (arbitrary) */
class="text-[#af2f20] bg-[#af2f20]"
/* SCSS */
$brand: #af2f20;
/* SwiftUI */
Color(red: 0.686, green: 0.184, blue: 0.125)
/* Android */
Color.parseColor("#af2f20")Accessibility — WCAG contrast
Aa
#af2f20 on white: 6.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af2f20 on black: 3.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green18.4%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta73.1%
Yellow81.7%
Key (black)31.4%
Color previews
#af2f20 text on a black background
contrast 3.25:1
Card sample
#af2f20 text on a white background
contrast 6.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af2f20;
Background color
Panel with #af2f20 background
background-color: #af2f20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af2f20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 47, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 47, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af2f20; background: linear-gradient(135deg, #af2f20, #AF8E20);