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