#afaaa8
a light, muted gray · neutral · closest name: Dark Gray
At a glance
Every number on this page in one read: what #afaaa8 is made of, how bright it looks, and which way it leans.
Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.
Every format
| HEX | #afaaa8 |
| RGB | rgb(175, 170, 168) |
| HSL | hsl(17, 4%, 67%) |
| CMYK | cmyk(0%, 3%, 4%, 31%) |
| LAB | lab(70.0 1.4 1.7) |
| LCH | lch(70.0 2.2 49.5) |
| OKLCH | oklch(0.742 0.006 43.3) |
| Decimal | 11512488 |
| Display P3 | color(display-p3 0.686 0.667 0.659) |
Copy-ready code
/* CSS */
color: #afaaa8;
background-color: #afaaa8;
/* Tailwind (arbitrary) */
class="text-[#afaaa8] bg-[#afaaa8]"
/* SCSS */
$brand: #afaaa8;
/* SwiftUI */
Color(red: 0.686, green: 0.667, blue: 0.659)
/* Android */
Color.parseColor("#afaaa8")
/* Flutter */
Color(0xFFAFAAA8)
/* Python / OpenCV (BGR) */
(168, 170, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #afaaa8 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.
:root {
--brand-50: #F8F7F7;
--brand-100: #F0EFEF;
--brand-200: #DFDDDD;
--brand-300: #C9C6C5;
--brand-400: #afaaa8;
--brand-500: #948D8A;
--brand-600: #807875;
--brand-700: #6A6462;
--brand-800: #55504E;
--brand-900: #403C3B;
--brand-950: #282625;
--brand: #afaaa8;
--brand-ink: #000000;
}Colors that work with #afaaa8
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #afaaa8
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Borders, dividers and quiet backgrounds
- ✓Long-form reading surfaces
- ✓Card and section backgrounds
- ✓Neutral UI chrome and typography
- ⚠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 | #A8ADAF | Directly opposite — maximum tension | |
| Analogous left | #AFA8AA | Neighbour, quieter | |
| Analogous right | #AFAEA8 | Neighbour, quieter | |
| Split-complement 1 | #A8AFAE | Contrast without the clash | |
| Split-complement 2 | #A8AAAF | Contrast without the clash | |
| Triadic 1 | #A8AFAA | Even thirds — balanced and loud | |
| Triadic 2 | #AAA8AF | Even thirds — balanced and loud | |
| Tetradic | #AAAFA8 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#afaaa8 text on a black background
contrast 9.14:1
#afaaa8 text on a white background
contrast 2.30:1
CSS3 live lab
The quick brown fox
color: #afaaa8;
background-color: #afaaa8;
Glowing headline
text-shadow: 2px 2px 8px #afaaa8;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 170, 168, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 170, 168, 0.45);
border: 3px solid #afaaa8; background: linear-gradient(135deg, #afaaa8, #AFAFA8);
Monochromatic scale
Palettes built from #afaaa8
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.
Closest color with a full write-up: Silver (#c0c0c0) — ΔE2000 6.3 away, with its history, psychology and brand usage.
#afaaa8 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#afaaa8, answered
What color is #afaaa8?
#afaaa8 is a light muted gray, closest to Dark Gray (ΔE2000 2.6). It sits at 17° on the hue wheel with 4% saturation and 67% lightness, which reads as neutral.
What is the RGB value of #afaaa8?
rgb(175, 170, 168) — 175 red, 170 green and 168 blue out of 255, or 68.6% / 66.7% / 65.9% by channel.
Is #afaaa8 a light or a dark color?
It is a mid-tone. Relative luminance is 0.4069 and perceived brightness is 67%, so black text on it reaches 9.14:1.
Should I use black or white text on #afaaa8?
Black. It scores 9.14:1 against #afaaa8, versus 2.30:1 for white — AAA at any size.
What is the complementary color of #afaaa8?
#A8ADAF sits directly opposite on the wheel. Softer options are the split-complements #A8AFAE and #A8AAAF, which give the same contrast with far less vibration.
What colors go well with #afaaa8?
For interface work: #F8F7F7 as the surface, #D8D5D4 for borders, #78716E for secondary text, #5E6E6E as an accent and #423F3D for hover and pressed states. For a palette, the analogous pair #AFA8AA and #AFAEA8 stays calm, while #A8ADAF is the loudest partner.
What is #afaaa8 in CMYK for printing?
cmyk(0%, 3%, 4%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #afaaa8 warm or cool?
Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BCAFA6; nudged cooler, #9AA6B3.