#ff4ffc
a light, electric magenta / pink · warm · closest name: magenta
RGB
255, 79, 252
HSL
301°, 100%, 66%
CMYK
0, 69, 1, 0
Luminance
0.3388
Every format
| HEX | #ff4ffc |
| RGB | rgb(255, 79, 252) |
| HSL | hsl(301, 100%, 66%) |
| CMYK | cmyk(0%, 69%, 1%, 0%) |
| LAB | lab(64.9 84.1 -51.9) |
| LCH | lch(64.9 98.9 328.3) |
| OKLCH | oklch(0.733 0.276 328.7) |
Copy-ready code
/* CSS */
color: #ff4ffc;
background-color: #ff4ffc;
/* Tailwind (arbitrary) */
class="text-[#ff4ffc] bg-[#ff4ffc]"
/* SCSS */
$brand: #ff4ffc;
/* SwiftUI */
Color(red: 1.000, green: 0.310, blue: 0.988)
/* Android */
Color.parseColor("#ff4ffc")Accessibility — WCAG contrast
Aa
#ff4ffc on white: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff4ffc on black: 7.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green31.0%
Blue98.8%
CMYK percentages
Cyan0.0%
Magenta69.0%
Yellow1.2%
Key (black)0.0%
Color previews
#ff4ffc text on a black background
contrast 7.78:1
Card sample
#ff4ffc text on a white background
contrast 2.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff4ffc;
Background color
Panel with #ff4ffc background
background-color: #ff4ffc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff4ffc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 79, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 79, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4ffc; background: linear-gradient(135deg, #ff4ffc, #FF4F87);