Skip to content

#ecc9eb

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
236, 201, 235
HSL
302°, 48%, 86%
CMYK
0, 15, 0, 8
Luminance
0.6560

Every format

HEX#ecc9eb
RGBrgb(236, 201, 235)
HSLhsl(302, 48%, 86%)
CMYKcmyk(0%, 15%, 0%, 8%)
LABlab(84.8 18.1 -12.2)
LCHlch(84.8 21.8 326.0)
OKLCHoklch(0.876 0.060 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc9eb on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ecc9eb on black: 14.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow0.4%
Key (black)7.5%

Color previews

#ecc9eb text on a black background

contrast 14.12:1

Card sample

#ecc9eb text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc9eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc9eb in the Color Lab