Skip to content

#dfb2e4

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

RGB
223, 178, 228
HSL
294°, 48%, 80%
CMYK
2, 22, 0, 11
Luminance
0.5313

Every format

HEX#dfb2e4
RGBrgb(223, 178, 228)
HSLhsl(294, 48%, 80%)
CMYKcmyk(2%, 22%, 0%, 11%)
LABlab(78.0 24.8 -18.8)
LCHlch(78.0 31.1 322.8)
OKLCHoklch(0.820 0.084 323.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2e4 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2e4 on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue89.4%

CMYK percentages

Cyan2.2%
Magenta21.9%
Yellow0.0%
Key (black)10.6%

Color previews

#dfb2e4 text on a black background

contrast 11.63:1

Card sample

#dfb2e4 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2e4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2e4 in the Color Lab