#ff56df
a light, electric magenta / pink · warm · closest name: violet
RGB
255, 86, 223
HSL
311°, 100%, 67%
CMYK
0, 66, 13, 0
Luminance
0.3324
Every format
| HEX | #ff56df |
| RGB | rgb(255, 86, 223) |
| HSL | hsl(311, 100%, 67%) |
| CMYK | cmyk(0%, 66%, 13%, 0%) |
| LAB | lab(64.4 77.4 -36.6) |
| LCH | lch(64.4 85.7 334.7) |
| OKLCH | oklch(0.725 0.248 336.3) |
Copy-ready code
/* CSS */
color: #ff56df;
background-color: #ff56df;
/* Tailwind (arbitrary) */
class="text-[#ff56df] bg-[#ff56df]"
/* SCSS */
$brand: #ff56df;
/* SwiftUI */
Color(red: 1.000, green: 0.337, blue: 0.875)
/* Android */
Color.parseColor("#ff56df")Accessibility — WCAG contrast
Aa
#ff56df on white: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff56df on black: 7.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green33.7%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta66.3%
Yellow12.5%
Key (black)0.0%
Color previews
#ff56df text on a black background
contrast 7.65:1
Card sample
#ff56df text on a white background
contrast 2.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff56df;
Background color
Panel with #ff56df background
background-color: #ff56df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff56df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 86, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 86, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff56df; background: linear-gradient(135deg, #ff56df, #FF566E);