#ac207c
a dark, vivid magenta / pink · warm · closest name: purple
RGB
172, 32, 124
HSL
321°, 69%, 40%
CMYK
0, 81, 28, 33
Luminance
0.1126
Every format
| HEX | #ac207c |
| RGB | rgb(172, 32, 124) |
| HSL | hsl(321, 69%, 40%) |
| CMYK | cmyk(0%, 81%, 28%, 33%) |
| LAB | lab(40.0 61.6 -17.3) |
| LCH | lch(40.0 64.0 344.3) |
| OKLCH | oklch(0.509 0.193 346.2) |
Copy-ready code
/* CSS */
color: #ac207c;
background-color: #ac207c;
/* Tailwind (arbitrary) */
class="text-[#ac207c] bg-[#ac207c]"
/* SCSS */
$brand: #ac207c;
/* SwiftUI */
Color(red: 0.675, green: 0.125, blue: 0.486)
/* Android */
Color.parseColor("#ac207c")Accessibility — WCAG contrast
Aa
#ac207c on white: 6.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac207c on black: 3.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green12.5%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta81.4%
Yellow27.9%
Key (black)32.5%
Color previews
#ac207c text on a black background
contrast 3.25:1
Card sample
#ac207c text on a white background
contrast 6.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac207c;
Background color
Panel with #ac207c background
background-color: #ac207c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac207c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 32, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 32, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac207c; background: linear-gradient(135deg, #ac207c, #AC2120);