#ec00df
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
236, 0, 223
HSL
303°, 100%, 46%
CMYK
0, 100, 6, 8
Luminance
0.2316
Every format
| HEX | #ec00df |
| RGB | rgb(236, 0, 223) |
| HSL | hsl(303, 100%, 46%) |
| CMYK | cmyk(0%, 100%, 6%, 8%) |
| LAB | lab(55.2 90.8 -51.2) |
| LCH | lch(55.2 104.3 330.6) |
| OKLCH | oklch(0.654 0.296 331.4) |
Copy-ready code
/* CSS */
color: #ec00df;
background-color: #ec00df;
/* Tailwind (arbitrary) */
class="text-[#ec00df] bg-[#ec00df]"
/* SCSS */
$brand: #ec00df;
/* SwiftUI */
Color(red: 0.925, green: 0.000, blue: 0.875)
/* Android */
Color.parseColor("#ec00df")Accessibility — WCAG contrast
Aa
#ec00df on white: 3.73:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ec00df on black: 5.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green0.0%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow5.5%
Key (black)7.5%
Color previews
#ec00df text on a black background
contrast 5.63:1
Card sample
#ec00df text on a white background
contrast 3.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec00df;
Background color
Panel with #ec00df background
background-color: #ec00df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec00df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 0, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 0, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec00df; background: linear-gradient(135deg, #ec00df, #EC0042);