#af1ba0
a dark, vivid magenta / pink · warm · closest name: purple
RGB
175, 27, 160
HSL
306°, 73%, 40%
CMYK
0, 85, 9, 31
Luminance
0.1244
Every format
| HEX | #af1ba0 |
| RGB | rgb(175, 27, 160) |
| HSL | hsl(306, 73%, 40%) |
| CMYK | cmyk(0%, 85%, 9%, 31%) |
| LAB | lab(41.9 68.3 -36.3) |
| LCH | lch(41.9 77.3 332.0) |
| OKLCH | oklch(0.529 0.221 333.1) |
Copy-ready code
/* CSS */
color: #af1ba0;
background-color: #af1ba0;
/* Tailwind (arbitrary) */
class="text-[#af1ba0] bg-[#af1ba0]"
/* SCSS */
$brand: #af1ba0;
/* SwiftUI */
Color(red: 0.686, green: 0.106, blue: 0.627)
/* Android */
Color.parseColor("#af1ba0")Accessibility — WCAG contrast
Aa
#af1ba0 on white: 6.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af1ba0 on black: 3.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green10.6%
Blue62.7%
CMYK percentages
Cyan0.0%
Magenta84.6%
Yellow8.6%
Key (black)31.4%
Color previews
#af1ba0 text on a black background
contrast 3.49:1
Card sample
#af1ba0 text on a white background
contrast 6.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af1ba0;
Background color
Panel with #af1ba0 background
background-color: #af1ba0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af1ba0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 27, 160, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 27, 160, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af1ba0; background: linear-gradient(135deg, #af1ba0, #AF1B3D);