#ff4cf0
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
255, 76, 240
HSL
305°, 100%, 65%
CMYK
0, 70, 6, 0
Luminance
0.3272
Every format
| HEX | #ff4cf0 |
| RGB | rgb(255, 76, 240) |
| HSL | hsl(305, 100%, 65%) |
| CMYK | cmyk(0%, 70%, 6%, 0%) |
| LAB | lab(63.9 83.3 -46.8) |
| LCH | lch(63.9 95.5 330.7) |
| OKLCH | oklch(0.725 0.271 331.6) |
Copy-ready code
/* CSS */
color: #ff4cf0;
background-color: #ff4cf0;
/* Tailwind (arbitrary) */
class="text-[#ff4cf0] bg-[#ff4cf0]"
/* SCSS */
$brand: #ff4cf0;
/* SwiftUI */
Color(red: 1.000, green: 0.298, blue: 0.941)
/* Android */
Color.parseColor("#ff4cf0")Accessibility — WCAG contrast
Aa
#ff4cf0 on white: 2.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff4cf0 on black: 7.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green29.8%
Blue94.1%
CMYK percentages
Cyan0.0%
Magenta70.2%
Yellow5.9%
Key (black)0.0%
Color previews
#ff4cf0 text on a black background
contrast 7.54:1
Card sample
#ff4cf0 text on a white background
contrast 2.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff4cf0;
Background color
Panel with #ff4cf0 background
background-color: #ff4cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff4cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 76, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 76, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4cf0; background: linear-gradient(135deg, #ff4cf0, #FF4C79);