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