#cd059f
a dark, electric magenta / pink · warm · closest name: purple
RGB
205, 5, 159
HSL
314°, 95%, 41%
CMYK
0, 98, 22, 20
Luminance
0.1559
Every format
| HEX | #cd059f |
| RGB | rgb(205, 5, 159) |
| HSL | hsl(314, 95%, 41%) |
| CMYK | cmyk(0%, 98%, 22%, 20%) |
| LAB | lab(46.4 76.8 -28.2) |
| LCH | lch(46.4 81.9 339.8) |
| OKLCH | oklch(0.571 0.244 341.8) |
Copy-ready code
/* CSS */
color: #cd059f;
background-color: #cd059f;
/* Tailwind (arbitrary) */
class="text-[#cd059f] bg-[#cd059f]"
/* SCSS */
$brand: #cd059f;
/* SwiftUI */
Color(red: 0.804, green: 0.020, blue: 0.624)
/* Android */
Color.parseColor("#cd059f")Accessibility — WCAG contrast
Aa
#cd059f on white: 5.10:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd059f on black: 4.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green2.0%
Blue62.4%
CMYK percentages
Cyan0.0%
Magenta97.6%
Yellow22.4%
Key (black)19.6%
Color previews
#cd059f text on a black background
contrast 4.12:1
Card sample
#cd059f text on a white background
contrast 5.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd059f;
Background color
Panel with #cd059f background
background-color: #cd059f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd059f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 5, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 5, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd059f; background: linear-gradient(135deg, #cd059f, #CD051A);