Skip to content

#b3afb7

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

RGB
179, 175, 183
HSL
270°, 5%, 70%
CMYK
2, 4, 0, 28
Luminance
0.4366

At a glance

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

Hex
#b3afb7
Hue
270°
gray
Saturation
5%
muted
Lightness
70%
light
Brightness
72%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4366
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.73:1
Closest name
Dark Gray
ΔE2000 5.4
Where it sits
Hue270° of 360°
Saturation5%
Lightness70%
Temperature
Warm ← → Cool53% 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#b3afb7
RGBrgb(179, 175, 183)
HSLhsl(270, 5%, 70%)
CMYKcmyk(2%, 4%, 0%, 28%)
LABlab(72.0 2.9 -3.6)
LCHlch(72.0 4.6 309.3)
OKLCHoklch(0.760 0.012 308.3)
Decimal11775927
Display P3color(display-p3 0.702 0.686 0.718)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#b3afb7 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#b3afb7 on black: 9.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEB0B7
deuteranopia · #AFB1B7
tritanopia · #B3B0B1

Color scale — 50 to 950

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

#F7F7F8
#F0EFF0
#DEDCDF
#C7C4CA
#b3afb7
#8F8995
#7A7481
#66616B
#524D56
#3D3A40
#262428
Base = 400Lightest = 50 · #F7F7F8Darkest = 950 · #262428
:root {
  --brand-50: #F7F7F8;
  --brand-100: #F0EFF0;
  --brand-200: #DEDCDF;
  --brand-300: #C7C4CA;
  --brand-400: #b3afb7;
  --brand-500: #8F8995;
  --brand-600: #7A7481;
  --brand-700: #66616B;
  --brand-800: #524D56;
  --brand-900: #3D3A40;
  --brand-950: #262428;
  --brand: #b3afb7;
  --brand-ink: #000000;
}

Colors that work with #b3afb7

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#F7F7F8
Tinted page background
Border#D6D4D8
Hairlines and dividers
Muted text#736D79
Captions on the surface
Accent#6B6F5D
Second voice, not a rival
Dark variant#403C43
Hover, pressed, headers
Light variant#F2F2F3
Selected rows, tints
Dark surface#1C1B1E
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 #b3afb7

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#B3B7AF
Analogous left#AFAFB7
Analogous right#B7AFB7
Split-complement 1#B7B7AF
Split-complement 2#AFB7AF
Triadic 1#B7B3AF
Triadic 2#AFB7B3
Tetradic#B7AFAF

RGB percentages

Red70.2%
Green68.6%
Blue71.8%

CMYK percentages

Cyan2.2%
Magenta4.4%
Yellow0.0%
Key (black)28.2%

Color previews

#b3afb7 text on a black background

contrast 9.73:1

Card sample

#b3afb7 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3afb7

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.

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

#b3afb7, answered

What color is #b3afb7?

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

What is the RGB value of #b3afb7?

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

Is #b3afb7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4366 and perceived brightness is 69%, so black text on it reaches 9.73:1.

Should I use black or white text on #b3afb7?

Black. It scores 9.73:1 against #b3afb7, versus 2.16:1 for white — AAA at any size.

What is the complementary color of #b3afb7?

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

What colors go well with #b3afb7?

For interface work: #F7F7F8 as the surface, #D6D4D8 for borders, #736D79 for secondary text, #6B6F5D as an accent and #403C43 for hover and pressed states. For a palette, the analogous pair #AFAFB7 and #B7AFB7 stays calm, while #B3B7AF is the loudest partner.

What is #b3afb7 in CMYK for printing?

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

Is #b3afb7 warm or cool?

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

Work with #b3afb7 in the Color Lab