#eb3afc
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
235, 58, 252
HSL
295°, 97%, 61%
CMYK
7, 77, 0, 1
Luminance
0.2772
Every format
| HEX | #eb3afc |
| RGB | rgb(235, 58, 252) |
| HSL | hsl(295, 97%, 61%) |
| CMYK | cmyk(7%, 77%, 0%, 1%) |
| LAB | lab(59.6 86.4 -60.5) |
| LCH | lch(59.6 105.5 325.0) |
| OKLCH | oklch(0.690 0.288 324.1) |
Copy-ready code
/* CSS */
color: #eb3afc;
background-color: #eb3afc;
/* Tailwind (arbitrary) */
class="text-[#eb3afc] bg-[#eb3afc]"
/* SCSS */
$brand: #eb3afc;
/* SwiftUI */
Color(red: 0.922, green: 0.227, blue: 0.988)
/* Android */
Color.parseColor("#eb3afc")Accessibility — WCAG contrast
Aa
#eb3afc on white: 3.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#eb3afc on black: 6.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green22.7%
Blue98.8%
CMYK percentages
Cyan6.7%
Magenta77.0%
Yellow0.0%
Key (black)1.2%
Color previews
#eb3afc text on a black background
contrast 6.54:1
Card sample
#eb3afc text on a white background
contrast 3.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eb3afc;
Background color
Panel with #eb3afc background
background-color: #eb3afc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eb3afc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 58, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 58, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb3afc; background: linear-gradient(135deg, #eb3afc, #FC3A8C);