Skip to content

#afb3b5

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

RGB
175, 179, 181
HSL
200°, 4%, 70%
CMYK
3, 1, 0, 29
Luminance
0.4469

At a glance

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

Hex
#afb3b5
Hue
200°
gray
Saturation
4%
muted
Lightness
70%
light
Brightness
71%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4469
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
9.94:1
Closest name
Dark Gray
ΔE2000 3.3
Where it sits
Hue200° of 360°
Saturation4%
Lightness70%
Temperature
Warm ← → Cool55% 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#afb3b5
RGBrgb(175, 179, 181)
HSLhsl(200, 4%, 70%)
CMYKcmyk(3%, 1%, 0%, 29%)
LABlab(72.7 -1.0 -1.5)
LCHlch(72.7 1.8 236.0)
OKLCHoklch(0.764 0.005 228.8)
Decimal11514805
Display P3color(display-p3 0.686 0.702 0.710)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#afb3b5 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#afb3b5 on black: 9.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B2B3B5
deuteranopia · #B1B2B5
tritanopia · #AEB4B4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afb3b5 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
#EFF0F0
#DDDEDF
#C5C8C9
#afb3b5
#8A9093
#767C7F
#62676A
#4E5355
#3B3E3F
#252728
Base = 400Lightest = 50 · #F7F7F8Darkest = 950 · #252728
:root {
  --brand-50: #F7F7F8;
  --brand-100: #EFF0F0;
  --brand-200: #DDDEDF;
  --brand-300: #C5C8C9;
  --brand-400: #afb3b5;
  --brand-500: #8A9093;
  --brand-600: #767C7F;
  --brand-700: #62676A;
  --brand-800: #4E5355;
  --brand-900: #3B3E3F;
  --brand-950: #252728;
  --brand: #afb3b5;
  --brand-ink: #000000;
}

Colors that work with #afb3b5

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#D5D7D8
Hairlines and dividers
Muted text#6E7477
Captions on the surface
Accent#6E5F5E
Second voice, not a rival
Dark variant#3D4142
Hover, pressed, headers
Light variant#F2F2F3
Selected rows, tints
Dark surface#1B1C1D
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 #afb3b5

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#B5B1AF
Analogous left#AFB5B4
Analogous right#AFB0B5
Split-complement 1#B5AFB0
Split-complement 2#B5B4AF
Triadic 1#B5AFB3
Triadic 2#B3B5AF
Tetradic#B4AFB5

RGB percentages

Red68.6%
Green70.2%
Blue71.0%

CMYK percentages

Cyan3.3%
Magenta1.1%
Yellow0.0%
Key (black)29.0%

Color previews

#afb3b5 text on a black background

contrast 9.94:1

Card sample

#afb3b5 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb3b5

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.

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

#afb3b5, answered

What color is #afb3b5?

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

What is the RGB value of #afb3b5?

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

Is #afb3b5 a light or a dark color?

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

Should I use black or white text on #afb3b5?

Black. It scores 9.94:1 against #afb3b5, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #afb3b5?

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

What colors go well with #afb3b5?

For interface work: #F7F7F8 as the surface, #D5D7D8 for borders, #6E7477 for secondary text, #6E5F5E as an accent and #3D4142 for hover and pressed states. For a palette, the analogous pair #AFB5B4 and #AFB0B5 stays calm, while #B5B1AF is the loudest partner.

What is #afb3b5 in CMYK for printing?

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

Is #afb3b5 warm or cool?

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

Work with #afb3b5 in the Color Lab