#ac0f49
a dark, electric magenta / pink · warm · closest name: crimson
RGB
172, 15, 73
HSL
338°, 84%, 37%
CMYK
0, 91, 58, 33
Luminance
0.0959
Every format
| HEX | #ac0f49 |
| RGB | rgb(172, 15, 73) |
| HSL | hsl(338, 84%, 37%) |
| CMYK | cmyk(0%, 91%, 58%, 33%) |
| LAB | lab(37.1 60.3 10.7) |
| LCH | lch(37.1 61.2 10.1) |
| OKLCH | oklch(0.482 0.185 8.4) |
Copy-ready code
/* CSS */
color: #ac0f49;
background-color: #ac0f49;
/* Tailwind (arbitrary) */
class="text-[#ac0f49] bg-[#ac0f49]"
/* SCSS */
$brand: #ac0f49;
/* SwiftUI */
Color(red: 0.675, green: 0.059, blue: 0.286)
/* Android */
Color.parseColor("#ac0f49")Accessibility — WCAG contrast
Aa
#ac0f49 on white: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#ac0f49 on black: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green5.9%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta91.3%
Yellow57.6%
Key (black)32.5%
Color previews
#ac0f49 text on a black background
contrast 2.92:1
Card sample
#ac0f49 text on a white background
contrast 7.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac0f49;
Background color
Panel with #ac0f49 background
background-color: #ac0f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac0f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 15, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 15, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac0f49; background: linear-gradient(135deg, #ac0f49, #AC3E0F);