#ec3fdb
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
236, 63, 219
HSL
306°, 82%, 59%
CMYK
0, 73, 7, 8
Luminance
0.2650
Every format
| HEX | #ec3fdb |
| RGB | rgb(236, 63, 219) |
| HSL | hsl(306, 82%, 59%) |
| CMYK | cmyk(0%, 73%, 7%, 8%) |
| LAB | lab(58.5 80.2 -43.8) |
| LCH | lch(58.5 91.3 331.4) |
| OKLCH | oklch(0.677 0.260 332.5) |
Copy-ready code
/* CSS */
color: #ec3fdb;
background-color: #ec3fdb;
/* Tailwind (arbitrary) */
class="text-[#ec3fdb] bg-[#ec3fdb]"
/* SCSS */
$brand: #ec3fdb;
/* SwiftUI */
Color(red: 0.925, green: 0.247, blue: 0.859)
/* Android */
Color.parseColor("#ec3fdb")Accessibility — WCAG contrast
Aa
#ec3fdb on white: 3.33:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ec3fdb on black: 6.30:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green24.7%
Blue85.9%
CMYK percentages
Cyan0.0%
Magenta73.3%
Yellow7.2%
Key (black)7.5%
Color previews
#ec3fdb text on a black background
contrast 6.30:1
Card sample
#ec3fdb text on a white background
contrast 3.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec3fdb;
Background color
Panel with #ec3fdb background
background-color: #ec3fdb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec3fdb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 63, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 63, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec3fdb; background: linear-gradient(135deg, #ec3fdb, #EC3F68);