Skip to content

#dfb2e3

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

RGB
223, 178, 227
HSL
295°, 47%, 79%
CMYK
2, 22, 0, 11
Luminance
0.5307

Every format

HEX#dfb2e3
RGBrgb(223, 178, 227)
HSLhsl(295, 47%, 79%)
CMYKcmyk(2%, 22%, 0%, 11%)
LABlab(77.9 24.6 -18.3)
LCHlch(77.9 30.7 323.3)
OKLCHoklch(0.819 0.083 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.8%
Blue89.0%

CMYK percentages

Cyan1.8%
Magenta21.6%
Yellow0.0%
Key (black)11.0%

Color previews

#dfb2e3 text on a black background

contrast 11.61:1

Card sample

#dfb2e3 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2e3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2e3 in the Color Lab