#ac2c80
a dark, vivid magenta / pink · warm · closest name: purple
RGB
172, 44, 128
HSL
321°, 59%, 42%
CMYK
0, 74, 26, 33
Luminance
0.1213
Every format
| HEX | #ac2c80 |
| RGB | rgb(172, 44, 128) |
| HSL | hsl(321, 59%, 42%) |
| CMYK | cmyk(0%, 74%, 26%, 33%) |
| LAB | lab(41.4 58.6 -17.6) |
| LCH | lch(41.4 61.2 343.2) |
| OKLCH | oklch(0.519 0.183 345.2) |
Copy-ready code
/* CSS */
color: #ac2c80;
background-color: #ac2c80;
/* Tailwind (arbitrary) */
class="text-[#ac2c80] bg-[#ac2c80]"
/* SCSS */
$brand: #ac2c80;
/* SwiftUI */
Color(red: 0.675, green: 0.173, blue: 0.502)
/* Android */
Color.parseColor("#ac2c80")Accessibility — WCAG contrast
Aa
#ac2c80 on white: 6.13:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac2c80 on black: 3.43:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green17.3%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta74.4%
Yellow25.6%
Key (black)32.5%
Color previews
#ac2c80 text on a black background
contrast 3.43:1
Card sample
#ac2c80 text on a white background
contrast 6.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2c80;
Background color
Panel with #ac2c80 background
background-color: #ac2c80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2c80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 44, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 44, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2c80; background: linear-gradient(135deg, #ac2c80, #AC2D2C);