#ac2f49
a dark, vivid red · warm · closest name: firebrick
RGB
172, 47, 73
HSL
348°, 57%, 43%
CMYK
0, 73, 58, 33
Luminance
0.1128
Every format
| HEX | #ac2f49 |
| RGB | rgb(172, 47, 73) |
| HSL | hsl(348, 57%, 43%) |
| CMYK | cmyk(0%, 73%, 58%, 33%) |
| LAB | lab(40.1 51.9 14.8) |
| LCH | lch(40.1 54.0 15.9) |
| OKLCH | oklch(0.504 0.161 13.2) |
Copy-ready code
/* CSS */
color: #ac2f49;
background-color: #ac2f49;
/* Tailwind (arbitrary) */
class="text-[#ac2f49] bg-[#ac2f49]"
/* SCSS */
$brand: #ac2f49;
/* SwiftUI */
Color(red: 0.675, green: 0.184, blue: 0.286)
/* Android */
Color.parseColor("#ac2f49")Accessibility — WCAG contrast
Aa
#ac2f49 on white: 6.45:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac2f49 on black: 3.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green18.4%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta72.7%
Yellow57.6%
Key (black)32.5%
Color previews
#ac2f49 text on a black background
contrast 3.26:1
Card sample
#ac2f49 text on a white background
contrast 6.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2f49;
Background color
Panel with #ac2f49 background
background-color: #ac2f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2f49; background: linear-gradient(135deg, #ac2f49, #AC682F);