#af0cb0
a dark, electric magenta / pink · warm · closest name: purple
RGB
175, 12, 176
HSL
300°, 87%, 37%
CMYK
1, 93, 0, 31
Luminance
0.1251
Every format
| HEX | #af0cb0 |
| RGB | rgb(175, 12, 176) |
| HSL | hsl(300, 87%, 37%) |
| CMYK | cmyk(1%, 93%, 0%, 31%) |
| LAB | lab(42.0 73.0 -45.7) |
| LCH | lch(42.0 86.1 328.0) |
| OKLCH | oklch(0.533 0.240 328.0) |
Copy-ready code
/* CSS */
color: #af0cb0;
background-color: #af0cb0;
/* Tailwind (arbitrary) */
class="text-[#af0cb0] bg-[#af0cb0]"
/* SCSS */
$brand: #af0cb0;
/* SwiftUI */
Color(red: 0.686, green: 0.047, blue: 0.690)
/* Android */
Color.parseColor("#af0cb0")Accessibility — WCAG contrast
Aa
#af0cb0 on white: 6.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af0cb0 on black: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green4.7%
Blue69.0%
CMYK percentages
Cyan0.6%
Magenta93.2%
Yellow0.0%
Key (black)31.0%
Color previews
#af0cb0 text on a black background
contrast 3.50:1
Card sample
#af0cb0 text on a white background
contrast 6.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af0cb0;
Background color
Panel with #af0cb0 background
background-color: #af0cb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af0cb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 12, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 12, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af0cb0; background: linear-gradient(135deg, #af0cb0, #B00C44);