Skip to content

#a7afb3

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

RGB
167, 175, 179
HSL
200°, 7%, 68%
CMYK
7, 2, 0, 30
Luminance
0.4213

Every format

HEX#a7afb3
RGBrgb(167, 175, 179)
HSLhsl(200, 7%, 68%)
CMYKcmyk(7%, 2%, 0%, 30%)
LABlab(71.0 -2.0 -3.0)
LCHlch(71.0 3.6 236.3)
OKLCHoklch(0.749 0.011 228.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7afb3 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#a7afb3 on black: 9.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green68.6%
Blue70.2%

CMYK percentages

Cyan6.7%
Magenta2.2%
Yellow0.0%
Key (black)29.8%

Color previews

#a7afb3 text on a black background

contrast 9.43:1

Card sample

#a7afb3 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7afb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7afb3 in the Color Lab