Skip to content

#af7f80

a balanced, soft red · warm · closest name: gray

RGB
175, 127, 128
HSL
359°, 23%, 59%
CMYK
0, 27, 27, 31
Luminance
0.2585

Every format

HEX#af7f80
RGBrgb(175, 127, 128)
HSLhsl(359, 23%, 59%)
CMYKcmyk(0%, 27%, 27%, 31%)
LABlab(57.9 18.7 6.8)
LCHlch(57.9 19.9 20.0)
OKLCHoklch(0.644 0.060 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7f80 on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#af7f80 on black: 6.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green49.8%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow26.9%
Key (black)31.4%

Color previews

#af7f80 text on a black background

contrast 6.17:1

Card sample

#af7f80 text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7f80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7f80 in the Color Lab