#ecabf4
a light, electric magenta / pink · warm · closest name: plum
RGB
236, 171, 244
HSL
293°, 77%, 81%
CMYK
3, 30, 0, 4
Luminance
0.5349
Every format
| HEX | #ecabf4 |
| RGB | rgb(236, 171, 244) |
| HSL | hsl(293, 77%, 81%) |
| CMYK | cmyk(3%, 30%, 0%, 4%) |
| LAB | lab(78.2 35.7 -27.0) |
| LCH | lch(78.2 44.8 322.9) |
| OKLCH | oklch(0.826 0.121 322.8) |
Copy-ready code
/* CSS */
color: #ecabf4;
background-color: #ecabf4;
/* Tailwind (arbitrary) */
class="text-[#ecabf4] bg-[#ecabf4]"
/* SCSS */
$brand: #ecabf4;
/* SwiftUI */
Color(red: 0.925, green: 0.671, blue: 0.957)
/* Android */
Color.parseColor("#ecabf4")Accessibility — WCAG contrast
Aa
#ecabf4 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecabf4 on black: 11.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green67.1%
Blue95.7%
CMYK percentages
Cyan3.3%
Magenta29.9%
Yellow0.0%
Key (black)4.3%
Color previews
#ecabf4 text on a black background
contrast 11.70:1
Card sample
#ecabf4 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecabf4;
Background color
Panel with #ecabf4 background
background-color: #ecabf4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecabf4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 171, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 171, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecabf4; background: linear-gradient(135deg, #ecabf4, #F4ABCB);