Skip to content

#b2afab

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

RGB
178, 175, 171
HSL
34°, 4%, 68%
CMYK
0, 2, 4, 30
Luminance
0.4307

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.

Hex
#b2afab
Hue
34°
gray
Saturation
4%
muted
Lightness
68%
light
Brightness
70%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4307
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.61:1
Closest name
Dark Gray
ΔE2000 3
Where it sits
Hue34° of 360°
Saturation4%
Lightness68%
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#b2afab
RGBrgb(178, 175, 171)
HSLhsl(34, 4%, 68%)
CMYKcmyk(0%, 2%, 4%, 30%)
LABlab(71.6 0.3 2.4)
LCHlch(71.6 2.4 82.2)
OKLCHoklch(0.755 0.007 75.4)
Decimal11710379
Display P3color(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.

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

Accessibility — WCAG contrast

Aa
#b2afab on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#b2afab on black: 9.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0AFAB
deuteranopia · #B1B0AB
tritanopia · #B3AEAE

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.

#F8F7F7
#F0F0EF
#DFDEDD
#C9C7C4
#b2afab
#948F8A
#807B75
#6A6762
#55524E
#403E3B
#282625
Base = 400Lightest = 50 · #F8F7F7Darkest = 950 · #282625
: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.

Text on it#000000
Black wins here
Surface#F8F7F7
Tinted page background
Border#D8D6D4
Hairlines and dividers
Muted text#78736E
Captions on the surface
Accent#5E696E
Second voice, not a rival
Dark variant#42403D
Hover, pressed, headers
Light variant#F3F2F2
Selected rows, tints
Dark surface#1D1C1B
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 #b2afab

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#ABAEB2
Analogous left#B2ABAB
Analogous right#B1B2AB
Split-complement 1#ABB1B2
Split-complement 2#ABABB2
Triadic 1#ABB2AF
Triadic 2#AFABB2
Tetradic#ABB2AB

RGB percentages

Red69.8%
Green68.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow3.9%
Key (black)30.2%

Color previews

#b2afab text on a black background

contrast 9.61:1

Card sample

#b2afab text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 175, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 175, 171, 0.45);
Border & gradient
Gradient panel
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.

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

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

Work with #b2afab in the Color Lab