#f50dfd
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
245, 13, 253
HSL
298°, 98%, 52%
CMYK
3, 95, 0, 1
Luminance
0.2679
Every format
| HEX | #f50dfd |
| RGB | rgb(245, 13, 253) |
| HSL | hsl(298, 98%, 52%) |
| CMYK | cmyk(3%, 95%, 0%, 1%) |
| LAB | lab(58.8 95.6 -62.3) |
| LCH | lch(58.8 114.1 326.9) |
| OKLCH | oklch(0.687 0.315 326.6) |
Copy-ready code
/* CSS */
color: #f50dfd;
background-color: #f50dfd;
/* Tailwind (arbitrary) */
class="text-[#f50dfd] bg-[#f50dfd]"
/* SCSS */
$brand: #f50dfd;
/* SwiftUI */
Color(red: 0.961, green: 0.051, blue: 0.992)
/* Android */
Color.parseColor("#f50dfd")Accessibility — WCAG contrast
Aa
#f50dfd on white: 3.30:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f50dfd on black: 6.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.1%
Green5.1%
Blue99.2%
CMYK percentages
Cyan3.2%
Magenta94.9%
Yellow0.0%
Key (black)0.8%
Color previews
#f50dfd text on a black background
contrast 6.36:1
Card sample
#f50dfd text on a white background
contrast 3.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f50dfd;
Background color
Panel with #f50dfd background
background-color: #f50dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f50dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(245, 13, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 13, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f50dfd; background: linear-gradient(135deg, #f50dfd, #FD0D65);