#df4cef
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
223, 76, 239
HSL
294°, 84%, 62%
CMYK
7, 68, 0, 6
Luminance
0.2709
Every format
| HEX | #df4cef |
| RGB | rgb(223, 76, 239) |
| HSL | hsl(294, 84%, 62%) |
| CMYK | cmyk(7%, 68%, 0%, 6%) |
| LAB | lab(59.1 76.3 -54.3) |
| LCH | lch(59.1 93.6 324.6) |
| OKLCH | oklch(0.680 0.255 323.7) |
Copy-ready code
/* CSS */
color: #df4cef;
background-color: #df4cef;
/* Tailwind (arbitrary) */
class="text-[#df4cef] bg-[#df4cef]"
/* SCSS */
$brand: #df4cef;
/* SwiftUI */
Color(red: 0.875, green: 0.298, blue: 0.937)
/* Android */
Color.parseColor("#df4cef")Accessibility — WCAG contrast
Aa
#df4cef on white: 3.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#df4cef on black: 6.42:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green29.8%
Blue93.7%
CMYK percentages
Cyan6.7%
Magenta68.2%
Yellow0.0%
Key (black)6.3%
Color previews
#df4cef text on a black background
contrast 6.42:1
Card sample
#df4cef text on a white background
contrast 3.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df4cef;
Background color
Panel with #df4cef background
background-color: #df4cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df4cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 76, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 76, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df4cef; background: linear-gradient(135deg, #df4cef, #EF4C92);