#af1d73
a dark, vivid magenta / pink · warm · closest name: purple
RGB
175, 29, 115
HSL
325°, 72%, 40%
CMYK
0, 83, 34, 31
Luminance
0.1123
Every format
| HEX | #af1d73 |
| RGB | rgb(175, 29, 115) |
| HSL | hsl(325, 72%, 40%) |
| CMYK | cmyk(0%, 83%, 34%, 31%) |
| LAB | lab(40.0 62.0 -11.8) |
| LCH | lch(40.0 63.1 349.3) |
| OKLCH | oklch(0.508 0.193 350.9) |
Copy-ready code
/* CSS */
color: #af1d73;
background-color: #af1d73;
/* Tailwind (arbitrary) */
class="text-[#af1d73] bg-[#af1d73]"
/* SCSS */
$brand: #af1d73;
/* SwiftUI */
Color(red: 0.686, green: 0.114, blue: 0.451)
/* Android */
Color.parseColor("#af1d73")Accessibility — WCAG contrast
Aa
#af1d73 on white: 6.47:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af1d73 on black: 3.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green11.4%
Blue45.1%
CMYK percentages
Cyan0.0%
Magenta83.4%
Yellow34.3%
Key (black)31.4%
Color previews
#af1d73 text on a black background
contrast 3.25:1
Card sample
#af1d73 text on a white background
contrast 6.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af1d73;
Background color
Panel with #af1d73 background
background-color: #af1d73;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af1d73;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 29, 115, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 29, 115, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af1d73; background: linear-gradient(135deg, #af1d73, #AF281D);