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