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