#ac00b8
a dark, electric magenta / pink · warm · closest name: purple
RGB
172, 0, 184
HSL
296°, 100%, 36%
CMYK
7, 100, 0, 28
Luminance
0.1223
Every format
| HEX | #ac00b8 |
| RGB | rgb(172, 0, 184) |
| HSL | hsl(296, 100%, 36%) |
| CMYK | cmyk(7%, 100%, 0%, 28%) |
| LAB | lab(41.6 75.0 -51.2) |
| LCH | lch(41.6 90.8 325.7) |
| OKLCH | oklch(0.530 0.248 324.8) |
Copy-ready code
/* CSS */
color: #ac00b8;
background-color: #ac00b8;
/* Tailwind (arbitrary) */
class="text-[#ac00b8] bg-[#ac00b8]"
/* SCSS */
$brand: #ac00b8;
/* SwiftUI */
Color(red: 0.675, green: 0.000, blue: 0.722)
/* Android */
Color.parseColor("#ac00b8")Accessibility — WCAG contrast
Aa
#ac00b8 on white: 6.09:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac00b8 on black: 3.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green0.0%
Blue72.2%
CMYK percentages
Cyan6.5%
Magenta100.0%
Yellow0.0%
Key (black)27.8%
Color previews
#ac00b8 text on a black background
contrast 3.45:1
Card sample
#ac00b8 text on a white background
contrast 6.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac00b8;
Background color
Panel with #ac00b8 background
background-color: #ac00b8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac00b8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 0, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 0, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac00b8; background: linear-gradient(135deg, #ac00b8, #B80049);