Skip to content

#dfb2d9

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

RGB
223, 178, 217
HSL
308°, 41%, 79%
CMYK
0, 20, 3, 13
Luminance
0.5254

Every format

HEX#dfb2d9
RGBrgb(223, 178, 217)
HSLhsl(308, 41%, 79%)
CMYKcmyk(0%, 20%, 3%, 13%)
LABlab(77.6 22.8 -13.4)
LCHlch(77.6 26.4 329.5)
OKLCHoklch(0.816 0.073 330.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2d9 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2d9 on black: 11.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta20.2%
Yellow2.7%
Key (black)12.5%

Color previews

#dfb2d9 text on a black background

contrast 11.51:1

Card sample

#dfb2d9 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2d9 in the Color Lab