Skip to content

#dfb1c2

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

RGB
223, 177, 194
HSL
338°, 42%, 78%
CMYK
0, 21, 13, 13
Luminance
0.5103

Every format

HEX#dfb1c2
RGBrgb(223, 177, 194)
HSLhsl(338, 42%, 78%)
CMYKcmyk(0%, 21%, 13%, 13%)
LABlab(76.7 19.3 -2.2)
LCHlch(76.7 19.5 353.4)
OKLCHoklch(0.806 0.058 354.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb1c2 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#dfb1c2 on black: 11.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.4%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow13.0%
Key (black)12.5%

Color previews

#dfb1c2 text on a black background

contrast 11.21:1

Card sample

#dfb1c2 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb1c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb1c2 in the Color Lab