Skip to content

#ecc6dc

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

RGB
236, 198, 220
HSL
325°, 50%, 85%
CMYK
0, 16, 7, 8
Luminance
0.6339

Every format

HEX#ecc6dc
RGBrgb(236, 198, 220)
HSLhsl(325, 50%, 85%)
CMYKcmyk(0%, 16%, 7%, 8%)
LABlab(83.7 17.0 -5.9)
LCHlch(83.7 18.0 340.9)
OKLCHoklch(0.866 0.052 342.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc6dc on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ecc6dc on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green77.6%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow6.8%
Key (black)7.5%

Color previews

#ecc6dc text on a black background

contrast 13.68:1

Card sample

#ecc6dc text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc6dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc6dc in the Color Lab