#af3c28
a dark, vivid red · warm · closest name: firebrick
RGB
175, 60, 40
HSL
9°, 63%, 42%
CMYK
0, 66, 77, 31
Luminance
0.1250
Every format
| HEX | #af3c28 |
| RGB | rgb(175, 60, 40) |
| HSL | hsl(9, 63%, 42%) |
| CMYK | cmyk(0%, 66%, 77%, 31%) |
| LAB | lab(42.0 45.8 37.1) |
| LCH | lch(42.0 59.0 39.0) |
| OKLCH | oklch(0.517 0.154 32.2) |
Copy-ready code
/* CSS */
color: #af3c28;
background-color: #af3c28;
/* Tailwind (arbitrary) */
class="text-[#af3c28] bg-[#af3c28]"
/* SCSS */
$brand: #af3c28;
/* SwiftUI */
Color(red: 0.686, green: 0.235, blue: 0.157)
/* Android */
Color.parseColor("#af3c28")Accessibility — WCAG contrast
Aa
#af3c28 on white: 6.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af3c28 on black: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green23.5%
Blue15.7%
CMYK percentages
Cyan0.0%
Magenta65.7%
Yellow77.1%
Key (black)31.4%
Color previews
#af3c28 text on a black background
contrast 3.50:1
Card sample
#af3c28 text on a white background
contrast 6.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af3c28;
Background color
Panel with #af3c28 background
background-color: #af3c28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af3c28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 60, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 60, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3c28; background: linear-gradient(135deg, #af3c28, #AF9628);