Skip to content

#a6afac

a light, muted gray · neutral · closest name: Dark Gray

RGB
166, 175, 172
HSL
160°, 5%, 67%
CMYK
5, 0, 2, 31
Luminance
0.4175

At a glance

Every number on this page in one read: what #a6afac is made of, how bright it looks, and which way it leans.

Hex
#a6afac
Hue
160°
gray
Saturation
5%
muted
Lightness
67%
light
Brightness
69%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4175
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.35:1
Closest name
Dark Gray
ΔE2000 5.1
Where it sits
Hue160° of 360°
Saturation5%
Lightness67%
Temperature
Warm ← → Cool54% cool

Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.

Every format

HEX#a6afac
RGBrgb(166, 175, 172)
HSLhsl(160, 5%, 67%)
CMYKcmyk(5%, 0%, 2%, 31%)
LABlab(70.7 -3.7 0.4)
LCHlch(70.7 3.8 173.3)
OKLCHoklch(0.746 0.011 174.2)
Decimal10923948
Display P3color(display-p3 0.651 0.686 0.675)

Copy-ready code

/* CSS */
color: #a6afac;
background-color: #a6afac;
/* Tailwind (arbitrary) */
class="text-[#a6afac] bg-[#a6afac]"
/* SCSS */
$brand: #a6afac;
/* SwiftUI */
Color(red: 0.651, green: 0.686, blue: 0.675)
/* Android */
Color.parseColor("#a6afac")
/* Flutter */
Color(0xFFA6AFAC)
/* Python / OpenCV (BGR) */
(172, 175, 166)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #a6afac · 9.35:1
Use #000000AAA at every size.
Aa
White text · 2.25:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a6afac as text scores 2.25:1 on white and 9.35:1 on black.

Accessibility — WCAG contrast

Aa
#a6afac on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#a6afac on black: 9.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEAEAC
deuteranopia · #ACACAC
tritanopia · #A4AFAE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a6afac is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F8F7
#EFF0F0
#DCDFDE
#C4CAC8
#a6afac
#899591
#74817D
#616B68
#4D5653
#3A403E
#242827
Base = 400Lightest = 50 · #F7F8F7Darkest = 950 · #242827
:root {
  --brand-50: #F7F8F7;
  --brand-100: #EFF0F0;
  --brand-200: #DCDFDE;
  --brand-300: #C4CAC8;
  --brand-400: #a6afac;
  --brand-500: #899591;
  --brand-600: #74817D;
  --brand-700: #616B68;
  --brand-800: #4D5653;
  --brand-900: #3A403E;
  --brand-950: #242827;
  --brand: #a6afac;
  --brand-ink: #000000;
}

Colors that work with #a6afac

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F8F7
Tinted page background
Border#D4D8D7
Hairlines and dividers
Muted text#6D7975
Captions on the surface
Accent#6F5D68
Second voice, not a rival
Dark variant#3C4341
Hover, pressed, headers
Light variant#F2F3F2
Selected rows, tints
Dark surface#1B1E1D
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #a6afac

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Card and section backgrounds
  • Neutral UI chrome and typography
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#AFA6A9
Analogous left#A6AFA8
Analogous right#A6AEAF
Split-complement 1#AFA6AE
Split-complement 2#AFA8A6
Triadic 1#ACA6AF
Triadic 2#AFACA6
Tetradic#A8A6AF

RGB percentages

Red65.1%
Green68.6%
Blue67.5%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow1.7%
Key (black)31.4%

Color previews

#a6afac text on a black background

contrast 9.35:1

Card sample

#a6afac text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6afac

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#a6afac in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
EditorialArchitectureEnterpriseLuxury goods
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#a6afac, answered

What color is #a6afac?

#a6afac is a light muted gray, closest to Dark Gray (ΔE2000 5.1). It sits at 160° on the hue wheel with 5% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #a6afac?

rgb(166, 175, 172) — 166 red, 175 green and 172 blue out of 255, or 65.1% / 68.6% / 67.5% by channel.

Is #a6afac a light or a dark color?

It is a mid-tone. Relative luminance is 0.4175 and perceived brightness is 67%, so black text on it reaches 9.35:1.

Should I use black or white text on #a6afac?

Black. It scores 9.35:1 against #a6afac, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #a6afac?

#AFA6A9 sits directly opposite on the wheel. Softer options are the split-complements #AFA6AE and #AFA8A6, which give the same contrast with far less vibration.

What colors go well with #a6afac?

For interface work: #F7F8F7 as the surface, #D4D8D7 for borders, #6D7975 for secondary text, #6F5D68 as an accent and #3C4341 for hover and pressed states. For a palette, the analogous pair #A6AFA8 and #A6AEAF stays calm, while #AFA6A9 is the loudest partner.

What is #a6afac in CMYK for printing?

cmyk(5%, 0%, 2%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a6afac warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BBAEA5; nudged cooler, #99A5B2.

Work with #a6afac in the Color Lab