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