Skip to content

#ecc5df

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

RGB
236, 197, 223
HSL
320°, 51%, 85%
CMYK
0, 17, 6, 8
Luminance
0.6309

Every format

HEX#ecc5df
RGBrgb(236, 197, 223)
HSLhsl(320, 51%, 85%)
CMYKcmyk(0%, 17%, 6%, 8%)
LABlab(83.5 18.1 -7.7)
LCHlch(83.5 19.6 336.9)
OKLCHoklch(0.865 0.056 338.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green77.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow5.5%
Key (black)7.5%

Color previews

#ecc5df text on a black background

contrast 13.62:1

Card sample

#ecc5df text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc5df in the Color Lab