Skip to content

#ecc1df

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

RGB
236, 193, 223
HSL
318°, 53%, 84%
CMYK
0, 18, 6, 8
Luminance
0.6130

Every format

HEX#ecc1df
RGBrgb(236, 193, 223)
HSLhsl(318, 53%, 84%)
CMYKcmyk(0%, 18%, 6%, 8%)
LABlab(82.5 20.2 -9.1)
LCHlch(82.5 22.2 335.7)
OKLCHoklch(0.857 0.063 337.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green75.7%
Blue87.5%

CMYK percentages

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

Color previews

#ecc1df text on a black background

contrast 13.26:1

Card sample

#ecc1df text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc1df in the Color Lab