Skip to content

#afacaf

a light, muted gray · warm · closest name: silver

RGB
175, 172, 175
HSL
300°, 2%, 68%
CMYK
0, 2, 0, 31
Luminance
0.4171

Every format

HEX#afacaf
RGBrgb(175, 172, 175)
HSLhsl(300, 2%, 68%)
CMYKcmyk(0%, 2%, 0%, 31%)
LABlab(70.7 1.6 -1.2)
LCHlch(70.7 2.0 324.6)
OKLCHoklch(0.748 0.005 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacaf on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#afacaf on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow0.0%
Key (black)31.4%

Color previews

#afacaf text on a black background

contrast 9.34:1

Card sample

#afacaf text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacaf in the Color Lab