#b2afab
a light, muted gray · neutral · closest name: Dark Gray
At a glance
Every number on this page in one read: what #b2afab 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 | #b2afab |
| RGB | rgb(178, 175, 171) |
| HSL | hsl(34, 4%, 68%) |
| CMYK | cmyk(0%, 2%, 4%, 30%) |
| LAB | lab(71.6 0.3 2.4) |
| LCH | lch(71.6 2.4 82.2) |
| OKLCH | oklch(0.755 0.007 75.4) |
| Decimal | 11710379 |
| Display P3 | color(display-p3 0.698 0.686 0.671) |
Copy-ready code
/* CSS */
color: #b2afab;
background-color: #b2afab;
/* Tailwind (arbitrary) */
class="text-[#b2afab] bg-[#b2afab]"
/* SCSS */
$brand: #b2afab;
/* SwiftUI */
Color(red: 0.698, green: 0.686, blue: 0.671)
/* Android */
Color.parseColor("#b2afab")
/* Flutter */
Color(0xFFB2AFAB)
/* Python / OpenCV (BGR) */
(171, 175, 178)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. #b2afab 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: #F0F0EF;
--brand-200: #DFDEDD;
--brand-300: #C9C7C4;
--brand-400: #b2afab;
--brand-500: #948F8A;
--brand-600: #807B75;
--brand-700: #6A6762;
--brand-800: #55524E;
--brand-900: #403E3B;
--brand-950: #282625;
--brand: #b2afab;
--brand-ink: #000000;
}Colors that work with #b2afab
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 #b2afab
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 | #ABAEB2 | Directly opposite — maximum tension | |
| Analogous left | #B2ABAB | Neighbour, quieter | |
| Analogous right | #B1B2AB | Neighbour, quieter | |
| Split-complement 1 | #ABB1B2 | Contrast without the clash | |
| Split-complement 2 | #ABABB2 | Contrast without the clash | |
| Triadic 1 | #ABB2AF | Even thirds — balanced and loud | |
| Triadic 2 | #AFABB2 | Even thirds — balanced and loud | |
| Tetradic | #ABB2AB | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#b2afab text on a black background
contrast 9.61:1
#b2afab text on a white background
contrast 2.18:1
CSS3 live lab
The quick brown fox
color: #b2afab;
background-color: #b2afab;
Glowing headline
text-shadow: 2px 2px 8px #b2afab;
Soft neon halo
text-shadow: 0 0 14px rgba(178, 175, 171, 0.45);
box-shadow: 0 12px 32px -8px rgba(178, 175, 171, 0.45);
border: 3px solid #b2afab; background: linear-gradient(135deg, #b2afab, #B0B2AB);
Monochromatic scale
Palettes built from #b2afab
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 5 away, with its history, psychology and brand usage.
#b2afab 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.
#b2afab, answered
What color is #b2afab?
#b2afab is a light muted gray, closest to Dark Gray (ΔE2000 3). It sits at 34° on the hue wheel with 4% saturation and 68% lightness, which reads as neutral.
What is the RGB value of #b2afab?
rgb(178, 175, 171) — 178 red, 175 green and 171 blue out of 255, or 69.8% / 68.6% / 67.1% by channel.
Is #b2afab a light or a dark color?
It is a mid-tone. Relative luminance is 0.4307 and perceived brightness is 69%, so black text on it reaches 9.61:1.
Should I use black or white text on #b2afab?
Black. It scores 9.61:1 against #b2afab, versus 2.18:1 for white — AAA at any size.
What is the complementary color of #b2afab?
#ABAEB2 sits directly opposite on the wheel. Softer options are the split-complements #ABB1B2 and #ABABB2, which give the same contrast with far less vibration.
What colors go well with #b2afab?
For interface work: #F8F7F7 as the surface, #D8D6D4 for borders, #78736E for secondary text, #5E696E as an accent and #42403D for hover and pressed states. For a palette, the analogous pair #B2ABAB and #B1B2AB stays calm, while #ABAEB2 is the loudest partner.
What is #b2afab in CMYK for printing?
cmyk(0%, 2%, 4%, 30%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #b2afab 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 #BEB2A9; nudged cooler, #9DA9B5.