Skip to content

#b7afb0

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

RGB
183, 175, 176
HSL
353°, 5%, 70%
CMYK
0, 4, 4, 28
Luminance
0.4386

At a glance

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

Hex
#b7afb0
Hue
353°
gray
Saturation
5%
muted
Lightness
70%
light
Brightness
72%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4386
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.77:1
Closest name
Dark Gray
ΔE2000 4.7
Where it sits
Hue353° of 360°
Saturation5%
Lightness70%
Temperature
Warm ← → Cool46% 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#b7afb0
RGBrgb(183, 175, 176)
HSLhsl(353, 5%, 70%)
CMYKcmyk(0%, 4%, 4%, 28%)
LABlab(72.1 3.0 0.5)
LCHlch(72.1 3.1 9.6)
OKLCHoklch(0.761 0.009 8.6)
Decimal12038064
Display P3color(display-p3 0.718 0.686 0.690)

Copy-ready code

/* CSS */
color: #b7afb0;
background-color: #b7afb0;
/* Tailwind (arbitrary) */
class="text-[#b7afb0] bg-[#b7afb0]"
/* SCSS */
$brand: #b7afb0;
/* SwiftUI */
Color(red: 0.718, green: 0.686, blue: 0.690)
/* Android */
Color.parseColor("#b7afb0")
/* Flutter */
Color(0xFFB7AFB0)
/* Python / OpenCV (BGR) */
(176, 175, 183)

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

Accessibility — WCAG contrast

Aa
#b7afb0 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#b7afb0 on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0B0B0
deuteranopia · #B2B1B0
tritanopia · #B9AFAF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b7afb0 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
#F0EFEF
#DFDCDD
#CAC4C5
#b7afb0
#95898A
#817476
#6B6162
#564D4E
#403A3B
#282425
Base = 400Lightest = 50 · #F8F7F7Darkest = 950 · #282425
:root {
  --brand-50: #F8F7F7;
  --brand-100: #F0EFEF;
  --brand-200: #DFDCDD;
  --brand-300: #CAC4C5;
  --brand-400: #b7afb0;
  --brand-500: #95898A;
  --brand-600: #817476;
  --brand-700: #6B6162;
  --brand-800: #564D4E;
  --brand-900: #403A3B;
  --brand-950: #282425;
  --brand: #b7afb0;
  --brand-ink: #000000;
}

Colors that work with #b7afb0

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#D8D4D5
Hairlines and dividers
Muted text#796D6E
Captions on the surface
Accent#5D6F69
Second voice, not a rival
Dark variant#433C3D
Hover, pressed, headers
Light variant#F3F2F2
Selected rows, tints
Dark surface#1E1B1B
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 #b7afb0

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#AFB7B6
Analogous left#B7AFB4
Analogous right#B7B2AF
Split-complement 1#AFB7B2
Split-complement 2#AFB4B7
Triadic 1#B0B7AF
Triadic 2#AFB0B7
Tetradic#B4B7AF

RGB percentages

Red71.8%
Green68.6%
Blue69.0%

CMYK percentages

Cyan0.0%
Magenta4.4%
Yellow3.8%
Key (black)28.2%

Color previews

#b7afb0 text on a black background

contrast 9.77:1

Card sample

#b7afb0 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b7afb0

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.

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

#b7afb0, answered

What color is #b7afb0?

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

What is the RGB value of #b7afb0?

rgb(183, 175, 176) — 183 red, 175 green and 176 blue out of 255, or 71.8% / 68.6% / 69% by channel.

Is #b7afb0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4386 and perceived brightness is 70%, so black text on it reaches 9.77:1.

Should I use black or white text on #b7afb0?

Black. It scores 9.77:1 against #b7afb0, versus 2.15:1 for white — AAA at any size.

What is the complementary color of #b7afb0?

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

What colors go well with #b7afb0?

For interface work: #F8F7F7 as the surface, #D8D4D5 for borders, #796D6E for secondary text, #5D6F69 as an accent and #433C3D for hover and pressed states. For a palette, the analogous pair #B7AFB4 and #B7B2AF stays calm, while #AFB7B6 is the loudest partner.

What is #b7afb0 in CMYK for printing?

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

Is #b7afb0 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C2B7AE; nudged cooler, #A3AEB9.

Work with #b7afb0 in the Color Lab