#aa007f
a dark, electric magenta / pink · warm · closest name: purple
RGB
170, 0, 127
HSL
315°, 100%, 33%
CMYK
0, 100, 25, 33
Luminance
0.1008
Every format
| HEX | #aa007f |
| RGB | rgb(170, 0, 127) |
| HSL | hsl(315, 100%, 33%) |
| CMYK | cmyk(0%, 100%, 25%, 33%) |
| LAB | lab(38.0 66.7 -22.4) |
| LCH | lch(38.0 70.4 341.5) |
| OKLCH | oklch(0.494 0.211 343.5) |
Copy-ready code
/* CSS */
color: #aa007f;
background-color: #aa007f;
/* Tailwind (arbitrary) */
class="text-[#aa007f] bg-[#aa007f]"
/* SCSS */
$brand: #aa007f;
/* SwiftUI */
Color(red: 0.667, green: 0.000, blue: 0.498)
/* Android */
Color.parseColor("#aa007f")Accessibility — WCAG contrast
Aa
#aa007f on white: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#aa007f on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green0.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow25.3%
Key (black)33.3%
Color previews
#aa007f text on a black background
contrast 3.02:1
Card sample
#aa007f text on a white background
contrast 6.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa007f;
Background color
Panel with #aa007f background
background-color: #aa007f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa007f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 0, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 0, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa007f; background: linear-gradient(135deg, #aa007f, #AA000E);