Skip to content

#df788f

a light, vivid red · warm · closest name: salmon

RGB
223, 120, 143
HSL
347°, 62%, 67%
CMYK
0, 46, 36, 13
Luminance
0.3110

Every format

HEX#df788f
RGBrgb(223, 120, 143)
HSLhsl(347, 62%, 67%)
CMYKcmyk(0%, 46%, 36%, 13%)
LABlab(62.6 42.4 5.7)
LCHlch(62.6 42.8 7.7)
OKLCHoklch(0.694 0.130 6.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df788f on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#df788f on black: 7.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green47.1%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow35.9%
Key (black)12.5%

Color previews

#df788f text on a black background

contrast 7.22:1

Card sample

#df788f text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df788f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df788f in the Color Lab