Skip to content

#ecc2db

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

RGB
236, 194, 219
HSL
324°, 53%, 84%
CMYK
0, 18, 7, 8
Luminance
0.6153

Every format

HEX#ecc2db
RGBrgb(236, 194, 219)
HSLhsl(324, 53%, 84%)
CMYKcmyk(0%, 18%, 7%, 8%)
LABlab(82.7 19.0 -6.8)
LCHlch(82.7 20.2 340.3)
OKLCHoklch(0.858 0.058 341.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green76.1%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta17.8%
Yellow7.2%
Key (black)7.5%

Color previews

#ecc2db text on a black background

contrast 13.31:1

Card sample

#ecc2db text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2db in the Color Lab