Skip to content

#e2c9df

a light, soft magenta / pink · warm · closest name: lavender

RGB
226, 201, 223
HSL
307°, 30%, 84%
CMYK
0, 11, 1, 11
Luminance
0.6327

Every format

HEX#e2c9df
RGBrgb(226, 201, 223)
HSLhsl(307, 30%, 84%)
CMYKcmyk(0%, 11%, 1%, 11%)
LABlab(83.6 12.6 -7.7)
LCHlch(83.6 14.7 328.5)
OKLCHoklch(0.863 0.041 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2c9df on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#e2c9df on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green78.8%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta11.1%
Yellow1.3%
Key (black)11.4%

Color previews

#e2c9df text on a black background

contrast 13.65:1

Card sample

#e2c9df text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2c9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2c9df in the Color Lab