#ff4cf8
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
255, 76, 248
HSL
302°, 100%, 65%
CMYK
0, 70, 3, 0
Luminance
0.3321
Every format
| HEX | #ff4cf8 |
| RGB | rgb(255, 76, 248) |
| HSL | hsl(302, 100%, 65%) |
| CMYK | cmyk(0%, 70%, 3%, 0%) |
| LAB | lab(64.3 84.5 -50.6) |
| LCH | lch(64.3 98.5 329.1) |
| OKLCH | oklch(0.729 0.276 329.7) |
Copy-ready code
/* CSS */
color: #ff4cf8;
background-color: #ff4cf8;
/* Tailwind (arbitrary) */
class="text-[#ff4cf8] bg-[#ff4cf8]"
/* SCSS */
$brand: #ff4cf8;
/* SwiftUI */
Color(red: 1.000, green: 0.298, blue: 0.973)
/* Android */
Color.parseColor("#ff4cf8")Accessibility — WCAG contrast
Aa
#ff4cf8 on white: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff4cf8 on black: 7.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green29.8%
Blue97.3%
CMYK percentages
Cyan0.0%
Magenta70.2%
Yellow2.7%
Key (black)0.0%
Color previews
#ff4cf8 text on a black background
contrast 7.64:1
Card sample
#ff4cf8 text on a white background
contrast 2.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff4cf8;
Background color
Panel with #ff4cf8 background
background-color: #ff4cf8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff4cf8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 76, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 76, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4cf8; background: linear-gradient(135deg, #ff4cf8, #FF4C81);