Skip to content

#df9cb2

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

RGB
223, 156, 178
HSL
340°, 51%, 74%
CMYK
0, 30, 20, 13
Luminance
0.4268

Every format

HEX#df9cb2
RGBrgb(223, 156, 178)
HSLhsl(340, 51%, 74%)
CMYKcmyk(0%, 30%, 20%, 13%)
LABlab(71.3 28.1 -1.3)
LCHlch(71.3 28.1 357.3)
OKLCHoklch(0.764 0.084 357.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cb2 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#df9cb2 on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta30.0%
Yellow20.2%
Key (black)12.5%

Color previews

#df9cb2 text on a black background

contrast 9.54:1

Card sample

#df9cb2 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cb2 in the Color Lab