#f32afd
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
243, 42, 253
HSL
297°, 98%, 58%
CMYK
4, 83, 0, 1
Luminance
0.2780
Every format
| HEX | #f32afd |
| RGB | rgb(243, 42, 253) |
| HSL | hsl(297, 98%, 58%) |
| CMYK | cmyk(4%, 83%, 0%, 1%) |
| LAB | lab(59.7 91.6 -60.8) |
| LCH | lch(59.7 110.0 326.4) |
| OKLCH | oklch(0.693 0.303 326.0) |
Copy-ready code
/* CSS */
color: #f32afd;
background-color: #f32afd;
/* Tailwind (arbitrary) */
class="text-[#f32afd] bg-[#f32afd]"
/* SCSS */
$brand: #f32afd;
/* SwiftUI */
Color(red: 0.953, green: 0.165, blue: 0.992)
/* Android */
Color.parseColor("#f32afd")Accessibility — WCAG contrast
Aa
#f32afd on white: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f32afd on black: 6.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.3%
Green16.5%
Blue99.2%
CMYK percentages
Cyan4.0%
Magenta83.4%
Yellow0.0%
Key (black)0.8%
Color previews
#f32afd text on a black background
contrast 6.56:1
Card sample
#f32afd text on a white background
contrast 3.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f32afd;
Background color
Panel with #f32afd background
background-color: #f32afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f32afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(243, 42, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 42, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f32afd; background: linear-gradient(135deg, #f32afd, #FD2A7A);