Skip to content

#ecc1dc

a light, vivid magenta / pink · warm · closest name: pink

RGB
236, 193, 220
HSL
322°, 53%, 84%
CMYK
0, 18, 7, 8
Luminance
0.6114

Every format

HEX#ecc1dc
RGBrgb(236, 193, 220)
HSLhsl(322, 53%, 84%)
CMYKcmyk(0%, 18%, 7%, 8%)
LABlab(82.5 19.7 -7.7)
LCHlch(82.5 21.1 338.8)
OKLCHoklch(0.856 0.060 340.4)

Copy-ready code

/* CSS */
color: #ecc1dc;
background-color: #ecc1dc;
/* Tailwind (arbitrary) */
class="text-[#ecc1dc] bg-[#ecc1dc]"
/* SCSS */
$brand: #ecc1dc;
/* SwiftUI */
Color(red: 0.925, green: 0.757, blue: 0.863)
/* Android */
Color.parseColor("#ecc1dc")

Accessibility — WCAG contrast

Aa
#ecc1dc on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ecc1dc on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green75.7%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow6.8%
Key (black)7.5%

Color previews

#ecc1dc text on a black background

contrast 13.23:1

Card sample

#ecc1dc text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ecc1dc;
Background color
Panel with #ecc1dc background
background-color: #ecc1dc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ecc1dc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 193, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 193, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecc1dc;
background: linear-gradient(135deg, #ecc1dc, #ECC3C1);

Monochromatic scale

Palettes built from #ecc1dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc1dc in the Color Lab