#df4cfb
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
223, 76, 251
HSL
290°, 96%, 64%
CMYK
11, 70, 0, 2
Luminance
0.2782
Every format
| HEX | #df4cfb |
| RGB | rgb(223, 76, 251) |
| HSL | hsl(290, 96%, 64%) |
| CMYK | cmyk(11%, 70%, 0%, 2%) |
| LAB | lab(59.7 78.3 -59.8) |
| LCH | lch(59.7 98.6 322.6) |
| OKLCH | oklch(0.687 0.265 320.8) |
Copy-ready code
/* CSS */
color: #df4cfb;
background-color: #df4cfb;
/* Tailwind (arbitrary) */
class="text-[#df4cfb] bg-[#df4cfb]"
/* SCSS */
$brand: #df4cfb;
/* SwiftUI */
Color(red: 0.875, green: 0.298, blue: 0.984)
/* Android */
Color.parseColor("#df4cfb")Accessibility — WCAG contrast
Aa
#df4cfb on white: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#df4cfb on black: 6.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green29.8%
Blue98.4%
CMYK percentages
Cyan11.2%
Magenta69.7%
Yellow0.0%
Key (black)1.6%
Color previews
#df4cfb text on a black background
contrast 6.56:1
Card sample
#df4cfb text on a white background
contrast 3.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df4cfb;
Background color
Panel with #df4cfb background
background-color: #df4cfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df4cfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 76, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 76, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df4cfb; background: linear-gradient(135deg, #df4cfb, #FB4CA2);