#af14b0
a dark, electric magenta / pink · warm · closest name: purple
RGB
175, 20, 176
HSL
300°, 80%, 38%
CMYK
1, 89, 0, 31
Luminance
0.1275
Every format
| HEX | #af14b0 |
| RGB | rgb(175, 20, 176) |
| HSL | hsl(300, 80%, 38%) |
| CMYK | cmyk(1%, 89%, 0%, 31%) |
| LAB | lab(42.4 71.9 -45.1) |
| LCH | lch(42.4 84.9 327.9) |
| OKLCH | oklch(0.535 0.236 328.0) |
Copy-ready code
/* CSS */
color: #af14b0;
background-color: #af14b0;
/* Tailwind (arbitrary) */
class="text-[#af14b0] bg-[#af14b0]"
/* SCSS */
$brand: #af14b0;
/* SwiftUI */
Color(red: 0.686, green: 0.078, blue: 0.690)
/* Android */
Color.parseColor("#af14b0")Accessibility — WCAG contrast
Aa
#af14b0 on white: 5.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af14b0 on black: 3.55:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green7.8%
Blue69.0%
CMYK percentages
Cyan0.6%
Magenta88.6%
Yellow0.0%
Key (black)31.0%
Color previews
#af14b0 text on a black background
contrast 3.55:1
Card sample
#af14b0 text on a white background
contrast 5.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af14b0;
Background color
Panel with #af14b0 background
background-color: #af14b0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af14b0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 20, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 20, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af14b0; background: linear-gradient(135deg, #af14b0, #B01449);