#ec1dff
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
236, 29, 255
HSL
295°, 100%, 56%
CMYK
8, 89, 0, 0
Luminance
0.2593
Every format
| HEX | #ec1dff |
| RGB | rgb(236, 29, 255) |
| HSL | hsl(295, 100%, 56%) |
| CMYK | cmyk(8%, 89%, 0%, 0%) |
| LAB | lab(58.0 92.9 -64.8) |
| LCH | lch(58.0 113.2 325.1) |
| OKLCH | oklch(0.679 0.308 324.0) |
Copy-ready code
/* CSS */
color: #ec1dff;
background-color: #ec1dff;
/* Tailwind (arbitrary) */
class="text-[#ec1dff] bg-[#ec1dff]"
/* SCSS */
$brand: #ec1dff;
/* SwiftUI */
Color(red: 0.925, green: 0.114, blue: 1.000)
/* Android */
Color.parseColor("#ec1dff")Accessibility — WCAG contrast
Aa
#ec1dff on white: 3.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ec1dff on black: 6.19:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green11.4%
Blue100.0%
CMYK percentages
Cyan7.5%
Magenta88.6%
Yellow0.0%
Key (black)0.0%
Color previews
#ec1dff text on a black background
contrast 6.19:1
Card sample
#ec1dff text on a white background
contrast 3.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec1dff;
Background color
Panel with #ec1dff background
background-color: #ec1dff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec1dff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 29, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 29, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec1dff; background: linear-gradient(135deg, #ec1dff, #FF1D7B);