Skip to content

#df787b

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

RGB
223, 120, 123
HSL
358°, 62%, 67%
CMYK
0, 46, 45, 13
Luminance
0.3055

Every format

HEX#df787b
RGBrgb(223, 120, 123)
HSLhsl(358, 62%, 67%)
CMYKcmyk(0%, 46%, 45%, 13%)
LABlab(62.1 40.2 16.5)
LCHlch(62.1 43.4 22.3)
OKLCHoklch(0.689 0.128 19.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df787b on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#df787b on black: 7.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green47.1%
Blue48.2%

CMYK percentages

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

Color previews

#df787b text on a black background

contrast 7.11:1

Card sample

#df787b text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df787b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df787b in the Color Lab