#ad2fad
a dark, vivid magenta / pink · warm · closest name: purple
RGB
173, 47, 173
HSL
300°, 57%, 43%
CMYK
0, 73, 0, 32
Luminance
0.1393
Every format
| HEX | #ad2fad |
| RGB | rgb(173, 47, 173) |
| HSL | hsl(300, 57%, 43%) |
| CMYK | cmyk(0%, 73%, 0%, 32%) |
| LAB | lab(44.1 64.5 -40.6) |
| LCH | lch(44.1 76.2 327.8) |
| OKLCH | oklch(0.546 0.212 328.0) |
Copy-ready code
/* CSS */
color: #ad2fad;
background-color: #ad2fad;
/* Tailwind (arbitrary) */
class="text-[#ad2fad] bg-[#ad2fad]"
/* SCSS */
$brand: #ad2fad;
/* SwiftUI */
Color(red: 0.678, green: 0.184, blue: 0.678)
/* Android */
Color.parseColor("#ad2fad")Accessibility — WCAG contrast
Aa
#ad2fad on white: 5.55:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2fad on black: 3.79:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green18.4%
Blue67.8%
CMYK percentages
Cyan0.0%
Magenta72.8%
Yellow0.0%
Key (black)32.2%
Color previews
#ad2fad text on a black background
contrast 3.79:1
Card sample
#ad2fad text on a white background
contrast 5.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2fad;
Background color
Panel with #ad2fad background
background-color: #ad2fad;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2fad;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 47, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 47, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2fad; background: linear-gradient(135deg, #ad2fad, #AD2F59);