#ac207f
a dark, vivid magenta / pink · warm · closest name: purple
RGB
172, 32, 127
HSL
319°, 69%, 40%
CMYK
0, 81, 26, 33
Luminance
0.1134
Every format
| HEX | #ac207f |
| RGB | rgb(172, 32, 127) |
| HSL | hsl(319, 69%, 40%) |
| CMYK | cmyk(0%, 81%, 26%, 33%) |
| LAB | lab(40.1 62.0 -19.0) |
| LCH | lch(40.1 64.8 343.0) |
| OKLCH | oklch(0.510 0.195 344.9) |
Copy-ready code
/* CSS */
color: #ac207f;
background-color: #ac207f;
/* Tailwind (arbitrary) */
class="text-[#ac207f] bg-[#ac207f]"
/* SCSS */
$brand: #ac207f;
/* SwiftUI */
Color(red: 0.675, green: 0.125, blue: 0.498)
/* Android */
Color.parseColor("#ac207f")Accessibility — WCAG contrast
Aa
#ac207f on white: 6.43:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac207f on black: 3.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green12.5%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta81.4%
Yellow26.2%
Key (black)32.5%
Color previews
#ac207f text on a black background
contrast 3.27:1
Card sample
#ac207f text on a white background
contrast 6.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac207f;
Background color
Panel with #ac207f background
background-color: #ac207f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac207f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 32, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 32, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac207f; background: linear-gradient(135deg, #ac207f, #AC2022);