Skip to content

#afaca6

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

RGB
175, 172, 166
HSL
40°, 5%, 67%
CMYK
0, 2, 5, 31
Luminance
0.4137

At a glance

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

Hex
#afaca6
Hue
40°
gray
Saturation
5%
muted
Lightness
67%
light
Brightness
69%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4137
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.27:1
Closest name
Dark Gray
ΔE2000 3.3
Where it sits
Hue40° of 360°
Saturation5%
Lightness67%
Temperature
Warm ← → Cool44% 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#afaca6
RGBrgb(175, 172, 166)
HSLhsl(40, 5%, 67%)
CMYKcmyk(0%, 2%, 5%, 31%)
LABlab(70.4 -0.0 3.5)
LCHlch(70.4 3.5 90.5)
OKLCHoklch(0.745 0.009 84.6)
Decimal11512998
Display P3color(display-p3 0.686 0.675 0.651)

Copy-ready code

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

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 #afaca6 · 9.27:1
Use #000000AAA at every size.
Aa
White text · 2.26:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #afaca6 as text scores 2.26:1 on white and 9.27:1 on black.

Accessibility — WCAG contrast

Aa
#afaca6 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#afaca6 on black: 9.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEACA6
deuteranopia · #AEADA6
tritanopia · #B1ABAA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afaca6 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.

#F8F7F7
#F0F0EF
#DFDEDC
#CAC8C4
#afaca6
#959189
#817D74
#6B6861
#56534D
#403E3A
#282724
Base = 400Lightest = 50 · #F8F7F7Darkest = 950 · #282724
:root {
  --brand-50: #F8F7F7;
  --brand-100: #F0F0EF;
  --brand-200: #DFDEDC;
  --brand-300: #CAC8C4;
  --brand-400: #afaca6;
  --brand-500: #959189;
  --brand-600: #817D74;
  --brand-700: #6B6861;
  --brand-800: #56534D;
  --brand-900: #403E3A;
  --brand-950: #282724;
  --brand: #afaca6;
  --brand-ink: #000000;
}

Colors that work with #afaca6

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#F8F7F7
Tinted page background
Border#D8D7D4
Hairlines and dividers
Muted text#79756D
Captions on the surface
Accent#5D686F
Second voice, not a rival
Dark variant#43413C
Hover, pressed, headers
Light variant#F3F2F2
Selected rows, tints
Dark surface#1E1D1B
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 #afaca6

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#A6A9AF
Analogous left#AFA8A6
Analogous right#AEAFA6
Split-complement 1#A6AEAF
Split-complement 2#A8A6AF
Triadic 1#A6AFAC
Triadic 2#ACA6AF
Tetradic#A6AFA8

RGB percentages

Red68.6%
Green67.5%
Blue65.1%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow5.1%
Key (black)31.4%

Color previews

#afaca6 text on a black background

contrast 9.27:1

Card sample

#afaca6 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaca6

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.

#afaca6 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.

#afaca6, answered

What color is #afaca6?

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

What is the RGB value of #afaca6?

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

Is #afaca6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4137 and perceived brightness is 68%, so black text on it reaches 9.27:1.

Should I use black or white text on #afaca6?

Black. It scores 9.27:1 against #afaca6, versus 2.26:1 for white — AAA at any size.

What is the complementary color of #afaca6?

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

What colors go well with #afaca6?

For interface work: #F8F7F7 as the surface, #D8D7D4 for borders, #79756D for secondary text, #5D686F as an accent and #43413C for hover and pressed states. For a palette, the analogous pair #AFA8A6 and #AEAFA6 stays calm, while #A6A9AF is the loudest partner.

What is #afaca6 in CMYK for printing?

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

Is #afaca6 warm or cool?

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

Work with #afaca6 in the Color Lab