#af3eb9
a balanced, vivid magenta / pink · warm · closest name: purple
RGB
175, 62, 185
HSL
295°, 50%, 48%
CMYK
5, 67, 0, 28
Luminance
0.1606
Every format
| HEX | #af3eb9 |
| RGB | rgb(175, 62, 185) |
| HSL | hsl(295, 50%, 48%) |
| CMYK | cmyk(5%, 67%, 0%, 28%) |
| LAB | lab(47.1 61.5 -43.0) |
| LCH | lch(47.1 75.0 325.1) |
| OKLCH | oklch(0.570 0.205 324.4) |
Copy-ready code
/* CSS */
color: #af3eb9;
background-color: #af3eb9;
/* Tailwind (arbitrary) */
class="text-[#af3eb9] bg-[#af3eb9]"
/* SCSS */
$brand: #af3eb9;
/* SwiftUI */
Color(red: 0.686, green: 0.243, blue: 0.725)
/* Android */
Color.parseColor("#af3eb9")Accessibility — WCAG contrast
Aa
#af3eb9 on white: 4.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#af3eb9 on black: 4.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green24.3%
Blue72.5%
CMYK percentages
Cyan5.4%
Magenta66.5%
Yellow0.0%
Key (black)27.5%
Color previews
#af3eb9 text on a black background
contrast 4.21:1
Card sample
#af3eb9 text on a white background
contrast 4.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af3eb9;
Background color
Panel with #af3eb9 background
background-color: #af3eb9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af3eb9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 62, 185, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 62, 185, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3eb9; background: linear-gradient(135deg, #af3eb9, #B93E71);