Skip to content

#ecc2dc

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

RGB
236, 194, 220
HSL
323°, 53%, 84%
CMYK
0, 18, 7, 8
Luminance
0.6158

Every format

HEX#ecc2dc
RGBrgb(236, 194, 220)
HSLhsl(323, 53%, 84%)
CMYKcmyk(0%, 18%, 7%, 8%)
LABlab(82.7 19.1 -7.3)
LCHlch(82.7 20.5 339.1)
OKLCHoklch(0.858 0.059 340.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2dc on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2dc on black: 13.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.1%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta17.8%
Yellow6.8%
Key (black)7.5%

Color previews

#ecc2dc text on a black background

contrast 13.32:1

Card sample

#ecc2dc text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2dc in the Color Lab