#af2f32
a dark, vivid red · warm · closest name: firebrick
RGB
175, 47, 50
HSL
359°, 58%, 44%
CMYK
0, 73, 71, 31
Luminance
0.1138
Every format
| HEX | #af2f32 |
| RGB | rgb(175, 47, 50) |
| HSL | hsl(359, 58%, 44%) |
| CMYK | cmyk(0%, 73%, 71%, 31%) |
| LAB | lab(40.2 51.5 29.4) |
| LCH | lch(40.2 59.2 29.7) |
| OKLCH | oklch(0.504 0.165 24.2) |
Copy-ready code
/* CSS */
color: #af2f32;
background-color: #af2f32;
/* Tailwind (arbitrary) */
class="text-[#af2f32] bg-[#af2f32]"
/* SCSS */
$brand: #af2f32;
/* SwiftUI */
Color(red: 0.686, green: 0.184, blue: 0.196)
/* Android */
Color.parseColor("#af2f32")Accessibility — WCAG contrast
Aa
#af2f32 on white: 6.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af2f32 on black: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green18.4%
Blue19.6%
CMYK percentages
Cyan0.0%
Magenta73.1%
Yellow71.4%
Key (black)31.4%
Color previews
#af2f32 text on a black background
contrast 3.28:1
Card sample
#af2f32 text on a white background
contrast 6.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af2f32;
Background color
Panel with #af2f32 background
background-color: #af2f32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af2f32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 47, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 47, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af2f32; background: linear-gradient(135deg, #af2f32, #AF812F);