Skip to content

#e4ccdf

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

RGB
228, 204, 223
HSL
313°, 31%, 85%
CMYK
0, 11, 2, 11
Luminance
0.6501

Every format

HEX#e4ccdf
RGBrgb(228, 204, 223)
HSLhsl(313, 31%, 85%)
CMYKcmyk(0%, 11%, 2%, 11%)
LABlab(84.5 11.6 -6.3)
LCHlch(84.5 13.3 331.5)
OKLCHoklch(0.871 0.037 332.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4ccdf on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#e4ccdf on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green80.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta10.5%
Yellow2.2%
Key (black)10.6%

Color previews

#e4ccdf text on a black background

contrast 14.00:1

Card sample

#e4ccdf text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4ccdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ccdf in the Color Lab