Skip to content

#ecc7df

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

RGB
236, 199, 223
HSL
321°, 49%, 85%
CMYK
0, 16, 6, 8
Luminance
0.6401

Every format

HEX#ecc7df
RGBrgb(236, 199, 223)
HSLhsl(321, 49%, 85%)
CMYKcmyk(0%, 16%, 6%, 8%)
LABlab(84.0 17.0 -7.0)
LCHlch(84.0 18.4 337.6)
OKLCHoklch(0.868 0.052 339.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc7df on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#ecc7df on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow5.5%
Key (black)7.5%

Color previews

#ecc7df text on a black background

contrast 13.80:1

Card sample

#ecc7df text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc7df in the Color Lab