Skip to content

#dfb2e8

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

RGB
223, 178, 232
HSL
290°, 54%, 80%
CMYK
4, 23, 0, 9
Luminance
0.5335

Every format

HEX#dfb2e8
RGBrgb(223, 178, 232)
HSLhsl(290, 54%, 80%)
CMYKcmyk(4%, 23%, 0%, 9%)
LABlab(78.1 25.6 -20.8)
LCHlch(78.1 32.9 320.9)
OKLCHoklch(0.821 0.089 320.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2e8 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2e8 on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue91.0%

CMYK percentages

Cyan3.9%
Magenta23.3%
Yellow0.0%
Key (black)9.0%

Color previews

#dfb2e8 text on a black background

contrast 11.67:1

Card sample

#dfb2e8 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2e8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2e8 in the Color Lab