Skip to content

#ecc0df

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

RGB
236, 192, 223
HSL
318°, 54%, 84%
CMYK
0, 19, 6, 8
Luminance
0.6086

Every format

HEX#ecc0df
RGBrgb(236, 192, 223)
HSLhsl(318, 54%, 84%)
CMYKcmyk(0%, 19%, 6%, 8%)
LABlab(82.3 20.7 -9.5)
LCHlch(82.3 22.8 335.4)
OKLCHoklch(0.855 0.064 337.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc0df on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ecc0df on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green75.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta18.6%
Yellow5.5%
Key (black)7.5%

Color previews

#ecc0df text on a black background

contrast 13.17:1

Card sample

#ecc0df text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc0df in the Color Lab