#ae28af
a dark, vivid magenta / pink · warm · closest name: purple
RGB
174, 40, 175
HSL
300°, 63%, 42%
CMYK
1, 77, 0, 31
Luminance
0.1361
Every format
| HEX | #ae28af |
| RGB | rgb(174, 40, 175) |
| HSL | hsl(300, 63%, 42%) |
| CMYK | cmyk(1%, 77%, 0%, 31%) |
| LAB | lab(43.7 67.2 -42.5) |
| LCH | lch(43.7 79.5 327.7) |
| OKLCH | oklch(0.544 0.221 327.8) |
Copy-ready code
/* CSS */
color: #ae28af;
background-color: #ae28af;
/* Tailwind (arbitrary) */
class="text-[#ae28af] bg-[#ae28af]"
/* SCSS */
$brand: #ae28af;
/* SwiftUI */
Color(red: 0.682, green: 0.157, blue: 0.686)
/* Android */
Color.parseColor("#ae28af")Accessibility — WCAG contrast
Aa
#ae28af on white: 5.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ae28af on black: 3.72:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green15.7%
Blue68.6%
CMYK percentages
Cyan0.6%
Magenta77.1%
Yellow0.0%
Key (black)31.4%
Color previews
#ae28af text on a black background
contrast 3.72:1
Card sample
#ae28af text on a white background
contrast 5.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae28af;
Background color
Panel with #ae28af background
background-color: #ae28af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae28af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 40, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 40, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae28af; background: linear-gradient(135deg, #ae28af, #AF2856);