Skip to content

#ecc1eb

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

RGB
236, 193, 235
HSL
301°, 53%, 84%
CMYK
0, 18, 0, 8
Luminance
0.6197

Every format

HEX#ecc1eb
RGBrgb(236, 193, 235)
HSLhsl(301, 53%, 84%)
CMYKcmyk(0%, 18%, 0%, 8%)
LABlab(82.9 22.3 -15.0)
LCHlch(82.9 26.9 326.1)
OKLCHoklch(0.861 0.074 326.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green75.7%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow0.4%
Key (black)7.5%

Color previews

#ecc1eb text on a black background

contrast 13.39:1

Card sample

#ecc1eb text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc1eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc1eb in the Color Lab