#ac3f39
a dark, vivid red · warm · closest name: firebrick
RGB
172, 63, 57
HSL
3°, 50%, 45%
CMYK
0, 63, 67, 33
Luminance
0.1262
Every format
| HEX | #ac3f39 |
| RGB | rgb(172, 63, 57) |
| HSL | hsl(3, 50%, 45%) |
| CMYK | cmyk(0%, 63%, 67%, 33%) |
| LAB | lab(42.2 44.2 27.4) |
| LCH | lch(42.2 52.0 31.8) |
| OKLCH | oklch(0.519 0.144 26.5) |
Copy-ready code
/* CSS */
color: #ac3f39;
background-color: #ac3f39;
/* Tailwind (arbitrary) */
class="text-[#ac3f39] bg-[#ac3f39]"
/* SCSS */
$brand: #ac3f39;
/* SwiftUI */
Color(red: 0.675, green: 0.247, blue: 0.224)
/* Android */
Color.parseColor("#ac3f39")Accessibility — WCAG contrast
Aa
#ac3f39 on white: 5.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac3f39 on black: 3.52:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green24.7%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta63.4%
Yellow66.9%
Key (black)32.5%
Color previews
#ac3f39 text on a black background
contrast 3.52:1
Card sample
#ac3f39 text on a white background
contrast 5.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac3f39;
Background color
Panel with #ac3f39 background
background-color: #ac3f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac3f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 63, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 63, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac3f39; background: linear-gradient(135deg, #ac3f39, #AC8C39);