#ad2139
a dark, vivid red · warm · closest name: firebrick
RGB
173, 33, 57
HSL
350°, 68%, 40%
CMYK
0, 81, 67, 32
Luminance
0.1027
Every format
| HEX | #ad2139 |
| RGB | rgb(173, 33, 57) |
| HSL | hsl(350, 68%, 40%) |
| CMYK | cmyk(0%, 81%, 67%, 32%) |
| LAB | lab(38.3 55.7 22.6) |
| LCH | lch(38.3 60.1 22.1) |
| OKLCH | oklch(0.490 0.174 17.9) |
Copy-ready code
/* CSS */
color: #ad2139;
background-color: #ad2139;
/* Tailwind (arbitrary) */
class="text-[#ad2139] bg-[#ad2139]"
/* SCSS */
$brand: #ad2139;
/* SwiftUI */
Color(red: 0.678, green: 0.129, blue: 0.224)
/* Android */
Color.parseColor("#ad2139")Accessibility — WCAG contrast
Aa
#ad2139 on white: 6.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2139 on black: 3.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green12.9%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta80.9%
Yellow67.1%
Key (black)32.2%
Color previews
#ad2139 text on a black background
contrast 3.05:1
Card sample
#ad2139 text on a white background
contrast 6.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2139;
Background color
Panel with #ad2139 background
background-color: #ad2139;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2139;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 33, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 33, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2139; background: linear-gradient(135deg, #ad2139, #AD6621);