#ecccdc
a pale, vivid magenta / pink · warm · closest name: pink
RGB
236, 204, 220
HSL
330°, 46%, 86%
CMYK
0, 14, 7, 8
Luminance
0.6619
Every format
| HEX | #ecccdc |
| RGB | rgb(236, 204, 220) |
| HSL | hsl(330, 46%, 86%) |
| CMYK | cmyk(0%, 14%, 7%, 8%) |
| LAB | lab(85.1 13.8 -3.8) |
| LCH | lch(85.1 14.3 344.8) |
| OKLCH | oklch(0.877 0.042 346.3) |
Copy-ready code
/* CSS */
color: #ecccdc;
background-color: #ecccdc;
/* Tailwind (arbitrary) */
class="text-[#ecccdc] bg-[#ecccdc]"
/* SCSS */
$brand: #ecccdc;
/* SwiftUI */
Color(red: 0.925, green: 0.800, blue: 0.863)
/* Android */
Color.parseColor("#ecccdc")Accessibility — WCAG contrast
Aa
#ecccdc on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecccdc on black: 14.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.0%
Blue86.3%
CMYK percentages
Cyan0.0%
Magenta13.6%
Yellow6.8%
Key (black)7.5%
Color previews
#ecccdc text on a black background
contrast 14.24:1
Card sample
#ecccdc text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecccdc;
Background color
Panel with #ecccdc background
background-color: #ecccdc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecccdc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 204, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 204, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecccdc; background: linear-gradient(135deg, #ecccdc, #ECD1CC);