#ec0cbf
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
236, 12, 191
HSL
312°, 90%, 49%
CMYK
0, 95, 19, 8
Luminance
0.2186
Every format
| HEX | #ec0cbf |
| RGB | rgb(236, 12, 191) |
| HSL | hsl(312, 90%, 49%) |
| CMYK | cmyk(0%, 95%, 19%, 8%) |
| LAB | lab(53.9 86.0 -35.0) |
| LCH | lch(53.9 92.8 337.8) |
| OKLCH | oklch(0.639 0.274 339.8) |
Copy-ready code
/* CSS */
color: #ec0cbf;
background-color: #ec0cbf;
/* Tailwind (arbitrary) */
class="text-[#ec0cbf] bg-[#ec0cbf]"
/* SCSS */
$brand: #ec0cbf;
/* SwiftUI */
Color(red: 0.925, green: 0.047, blue: 0.749)
/* Android */
Color.parseColor("#ec0cbf")Accessibility — WCAG contrast
Aa
#ec0cbf on white: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ec0cbf on black: 5.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green4.7%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta94.9%
Yellow19.1%
Key (black)7.5%
Color previews
#ec0cbf text on a black background
contrast 5.37:1
Card sample
#ec0cbf text on a white background
contrast 3.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec0cbf;
Background color
Panel with #ec0cbf background
background-color: #ec0cbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec0cbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 12, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 12, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec0cbf; background: linear-gradient(135deg, #ec0cbf, #EC0C29);