Skip to content

#cc7f77

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

RGB
204, 127, 119
HSL
6°, 46%, 63%
CMYK
0, 38, 42, 20
Luminance
0.2935

Every format

HEX#cc7f77
RGBrgb(204, 127, 119)
HSLhsl(6, 46%, 63%)
CMYKcmyk(0%, 38%, 42%, 20%)
LABlab(61.1 28.9 16.9)
LCHlch(61.1 33.5 30.4)
OKLCHoklch(0.675 0.097 26.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc7f77 on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#cc7f77 on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green49.8%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta37.7%
Yellow41.7%
Key (black)20.0%

Color previews

#cc7f77 text on a black background

contrast 6.87:1

Card sample

#cc7f77 text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 127, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 127, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7f77;
background: linear-gradient(135deg, #cc7f77, #CCB877);

Monochromatic scale

Palettes built from #cc7f77

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc7f77 in the Color Lab