#af1cb0
a dark, vivid magenta / pink · warm · closest name: purple
RGB
175, 28, 176
HSL
300°, 73%, 40%
CMYK
1, 84, 0, 31
Luminance
0.1308
Every format
| HEX | #af1cb0 |
| RGB | rgb(175, 28, 176) |
| HSL | hsl(300, 73%, 40%) |
| CMYK | cmyk(1%, 84%, 0%, 31%) |
| LAB | lab(42.9 70.5 -44.3) |
| LCH | lch(42.9 83.3 327.8) |
| OKLCH | oklch(0.539 0.232 327.9) |
Copy-ready code
/* CSS */
color: #af1cb0;
background-color: #af1cb0;
/* Tailwind (arbitrary) */
class="text-[#af1cb0] bg-[#af1cb0]"
/* SCSS */
$brand: #af1cb0;
/* SwiftUI */
Color(red: 0.686, green: 0.110, blue: 0.690)
/* Android */
Color.parseColor("#af1cb0")Accessibility — WCAG contrast
Aa
#af1cb0 on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af1cb0 on black: 3.62:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green11.0%
Blue69.0%
CMYK percentages
Cyan0.6%
Magenta84.1%
Yellow0.0%
Key (black)31.0%
Color previews
#af1cb0 text on a black background
contrast 3.62:1
Card sample
#af1cb0 text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af1cb0;
Background color
Panel with #af1cb0 background
background-color: #af1cb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af1cb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 28, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 28, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af1cb0; background: linear-gradient(135deg, #af1cb0, #B01C4E);