#ac1ace
a balanced, electric violet · warm · closest name: magenta
RGB
172, 26, 206
HSL
289°, 78%, 46%
CMYK
17, 87, 0, 19
Luminance
0.1397
Every format
| HEX | #ac1ace |
| RGB | rgb(172, 26, 206) |
| HSL | hsl(289, 78%, 46%) |
| CMYK | cmyk(17%, 87%, 0%, 19%) |
| LAB | lab(44.2 75.3 -59.8) |
| LCH | lch(44.2 96.2 321.5) |
| OKLCH | oklch(0.553 0.254 318.4) |
Copy-ready code
/* CSS */
color: #ac1ace;
background-color: #ac1ace;
/* Tailwind (arbitrary) */
class="text-[#ac1ace] bg-[#ac1ace]"
/* SCSS */
$brand: #ac1ace;
/* SwiftUI */
Color(red: 0.675, green: 0.102, blue: 0.808)
/* Android */
Color.parseColor("#ac1ace")Accessibility — WCAG contrast
Aa
#ac1ace on white: 5.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac1ace on black: 3.79:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green10.2%
Blue80.8%
CMYK percentages
Cyan16.5%
Magenta87.4%
Yellow0.0%
Key (black)19.2%
Color previews
#ac1ace text on a black background
contrast 3.79:1
Card sample
#ac1ace text on a white background
contrast 5.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac1ace;
Background color
Panel with #ac1ace background
background-color: #ac1ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac1ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 26, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 26, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac1ace; background: linear-gradient(135deg, #ac1ace, #CE1A78);