Skip to content

#df788d

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

RGB
223, 120, 141
HSL
348°, 62%, 67%
CMYK
0, 46, 37, 13
Luminance
0.3104

Every format

HEX#df788d
RGBrgb(223, 120, 141)
HSLhsl(348, 62%, 67%)
CMYKcmyk(0%, 46%, 37%, 13%)
LABlab(62.5 42.1 6.8)
LCHlch(62.5 42.7 9.1)
OKLCHoklch(0.694 0.129 8.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green47.1%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow36.8%
Key (black)12.5%

Color previews

#df788d text on a black background

contrast 7.21:1

Card sample

#df788d text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df788d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df788d in the Color Lab