Skip to content

#aa7f7f

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

RGB
170, 127, 127
HSL
0°, 20%, 58%
CMYK
0, 25, 25, 33
Luminance
0.2526

Every format

HEX#aa7f7f
RGBrgb(170, 127, 127)
HSLhsl(0, 20%, 58%)
CMYKcmyk(0%, 25%, 25%, 33%)
LABlab(57.3 16.6 6.5)
LCHlch(57.3 17.9 21.4)
OKLCHoklch(0.638 0.053 18.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa7f7f on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#aa7f7f on black: 6.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green49.8%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta25.3%
Yellow25.3%
Key (black)33.3%

Color previews

#aa7f7f text on a black background

contrast 6.05:1

Card sample

#aa7f7f text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa7f7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa7f7f in the Color Lab