#ecc2da
a light, vivid magenta / pink · warm · closest name: pink
RGB
236, 194, 218
HSL
326°, 53%, 84%
CMYK
0, 18, 8, 8
Luminance
0.6148
Every format
| HEX | #ecc2da |
| RGB | rgb(236, 194, 218) |
| HSL | hsl(326, 53%, 84%) |
| CMYK | cmyk(0%, 18%, 8%, 8%) |
| LAB | lab(82.6 18.8 -6.3) |
| LCH | lch(82.6 19.8 341.5) |
| OKLCH | oklch(0.858 0.057 343.1) |
Copy-ready code
/* CSS */
color: #ecc2da;
background-color: #ecc2da;
/* Tailwind (arbitrary) */
class="text-[#ecc2da] bg-[#ecc2da]"
/* SCSS */
$brand: #ecc2da;
/* SwiftUI */
Color(red: 0.925, green: 0.761, blue: 0.855)
/* Android */
Color.parseColor("#ecc2da")Accessibility — WCAG contrast
Aa
#ecc2da on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecc2da on black: 13.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green76.1%
Blue85.5%
CMYK percentages
Cyan0.0%
Magenta17.8%
Yellow7.6%
Key (black)7.5%
Color previews
#ecc2da text on a black background
contrast 13.30:1
Card sample
#ecc2da text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecc2da;
Background color
Panel with #ecc2da background
background-color: #ecc2da;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecc2da;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 194, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 194, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecc2da; background: linear-gradient(135deg, #ecc2da, #ECC6C2);