Skip to content

#ecc2df

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

RGB
236, 194, 223
HSL
319°, 53%, 84%
CMYK
0, 18, 6, 8
Luminance
0.6174

Every format

HEX#ecc2df
RGBrgb(236, 194, 223)
HSLhsl(319, 53%, 84%)
CMYKcmyk(0%, 18%, 6%, 8%)
LABlab(82.8 19.7 -8.8)
LCHlch(82.8 21.5 335.9)
OKLCHoklch(0.859 0.061 337.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2df on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2df on black: 13.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta17.8%
Yellow5.5%
Key (black)7.5%

Color previews

#ecc2df text on a black background

contrast 13.35:1

Card sample

#ecc2df text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2df in the Color Lab