Skip to content

#cf786c

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

RGB
207, 120, 108
HSL
7°, 51%, 62%
CMYK
0, 42, 48, 19
Luminance
0.2778

Every format

HEX#cf786c
RGBrgb(207, 120, 108)
HSLhsl(7, 51%, 62%)
CMYKcmyk(0%, 42%, 48%, 19%)
LABlab(59.7 32.6 21.4)
LCHlch(59.7 39.0 33.2)
OKLCHoklch(0.665 0.111 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf786c on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#cf786c on black: 6.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green47.1%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta42.0%
Yellow47.8%
Key (black)18.8%

Color previews

#cf786c text on a black background

contrast 6.56:1

Card sample

#cf786c text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf786c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf786c in the Color Lab