#ac1fbc
a dark, vivid magenta / pink · warm · closest name: purple
RGB
172, 31, 188
HSL
294°, 72%, 43%
CMYK
9, 84, 0, 26
Luminance
0.1338
Every format
| HEX | #ac1fbc |
| RGB | rgb(172, 31, 188) |
| HSL | hsl(294, 72%, 43%) |
| CMYK | cmyk(9%, 84%, 0%, 26%) |
| LAB | lab(43.3 71.2 -50.7) |
| LCH | lch(43.3 87.4 324.5) |
| OKLCH | oklch(0.543 0.237 323.3) |
Copy-ready code
/* CSS */
color: #ac1fbc;
background-color: #ac1fbc;
/* Tailwind (arbitrary) */
class="text-[#ac1fbc] bg-[#ac1fbc]"
/* SCSS */
$brand: #ac1fbc;
/* SwiftUI */
Color(red: 0.675, green: 0.122, blue: 0.737)
/* Android */
Color.parseColor("#ac1fbc")Accessibility — WCAG contrast
Aa
#ac1fbc on white: 5.71:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac1fbc on black: 3.68:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green12.2%
Blue73.7%
CMYK percentages
Cyan8.5%
Magenta83.5%
Yellow0.0%
Key (black)26.3%
Color previews
#ac1fbc text on a black background
contrast 3.68:1
Card sample
#ac1fbc text on a white background
contrast 5.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac1fbc;
Background color
Panel with #ac1fbc background
background-color: #ac1fbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac1fbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 31, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 31, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac1fbc; background: linear-gradient(135deg, #ac1fbc, #BC1F63);