Skip to content

#dfb2e2

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

RGB
223, 178, 226
HSL
296°, 45%, 79%
CMYK
1, 21, 0, 11
Luminance
0.5302

Every format

HEX#dfb2e2
RGBrgb(223, 178, 226)
HSLhsl(296, 45%, 79%)
CMYKcmyk(1%, 21%, 0%, 11%)
LABlab(77.9 24.4 -17.9)
LCHlch(77.9 30.3 323.8)
OKLCHoklch(0.819 0.082 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.8%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta21.2%
Yellow0.0%
Key (black)11.4%

Color previews

#dfb2e2 text on a black background

contrast 11.60:1

Card sample

#dfb2e2 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2e2 in the Color Lab