Skip to content

#e4afdf

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

RGB
228, 175, 223
HSL
306°, 50%, 79%
CMYK
0, 23, 2, 11
Luminance
0.5248

Every format

HEX#e4afdf
RGBrgb(228, 175, 223)
HSLhsl(306, 50%, 79%)
CMYKcmyk(0%, 23%, 2%, 11%)
LABlab(77.6 27.1 -16.6)
LCHlch(77.6 31.8 328.5)
OKLCHoklch(0.817 0.088 329.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4afdf on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#e4afdf on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green68.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta23.2%
Yellow2.2%
Key (black)10.6%

Color previews

#e4afdf text on a black background

contrast 11.50:1

Card sample

#e4afdf text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4afdf in the Color Lab