#ff4cdf
a balanced, electric magenta / pink · warm · closest name: violet
RGB
255, 76, 223
HSL
311°, 100%, 65%
CMYK
0, 70, 13, 0
Luminance
0.3176
Every format
| HEX | #ff4cdf |
| RGB | rgb(255, 76, 223) |
| HSL | hsl(311, 100%, 65%) |
| CMYK | cmyk(0%, 70%, 13%, 0%) |
| LAB | lab(63.1 80.9 -38.5) |
| LCH | lch(63.1 89.6 334.5) |
| OKLCH | oklch(0.717 0.259 336.1) |
Copy-ready code
/* CSS */
color: #ff4cdf;
background-color: #ff4cdf;
/* Tailwind (arbitrary) */
class="text-[#ff4cdf] bg-[#ff4cdf]"
/* SCSS */
$brand: #ff4cdf;
/* SwiftUI */
Color(red: 1.000, green: 0.298, blue: 0.875)
/* Android */
Color.parseColor("#ff4cdf")Accessibility — WCAG contrast
Aa
#ff4cdf on white: 2.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff4cdf on black: 7.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green29.8%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta70.2%
Yellow12.5%
Key (black)0.0%
Color previews
#ff4cdf text on a black background
contrast 7.35:1
Card sample
#ff4cdf text on a white background
contrast 2.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff4cdf;
Background color
Panel with #ff4cdf background
background-color: #ff4cdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff4cdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 76, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 76, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4cdf; background: linear-gradient(135deg, #ff4cdf, #FF4C68);