Skip to content

#aba5af

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

RGB
171, 165, 175
HSL
276°, 6%, 67%
CMYK
2, 6, 0, 31
Luminance
0.3866

At a glance

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

Hex
#aba5af
Hue
276°
gray
Saturation
6%
muted
Lightness
67%
light
Brightness
69%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3866
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Gray
Tone
Muted
Best ink
Black
8.73:1
Closest name
Dark Gray
ΔE2000 6.4
Where it sits
Hue276° of 360°
Saturation6%
Lightness67%
Temperature
Warm ← → Cool52% 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#aba5af
RGBrgb(171, 165, 175)
HSLhsl(276, 6%, 67%)
CMYKcmyk(2%, 6%, 0%, 31%)
LABlab(68.5 4.0 -4.4)
LCHlch(68.5 6.0 312.7)
OKLCHoklch(0.730 0.016 312.2)
Decimal11249071
Display P3color(display-p3 0.671 0.647 0.686)

Copy-ready code

/* CSS */
color: #aba5af;
background-color: #aba5af;
/* Tailwind (arbitrary) */
class="text-[#aba5af] bg-[#aba5af]"
/* SCSS */
$brand: #aba5af;
/* SwiftUI */
Color(red: 0.671, green: 0.647, blue: 0.686)
/* Android */
Color.parseColor("#aba5af")
/* Flutter */
Color(0xFFABA5AF)
/* Python / OpenCV (BGR) */
(175, 165, 171)

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

Accessibility — WCAG contrast

Aa
#aba5af on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#aba5af on black: 8.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4A7AF
deuteranopia · #A5A7AF
tritanopia · #ABA6A8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #aba5af 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
#DEDCE0
#C8C4CA
#aba5af
#908895
#7C7382
#67606C
#534D56
#3E3A41
#272428
Base = 400Lightest = 50 · #F7F7F8Darkest = 950 · #272428
:root {
  --brand-50: #F7F7F8;
  --brand-100: #F0EFF0;
  --brand-200: #DEDCE0;
  --brand-300: #C8C4CA;
  --brand-400: #aba5af;
  --brand-500: #908895;
  --brand-600: #7C7382;
  --brand-700: #67606C;
  --brand-800: #534D56;
  --brand-900: #3E3A41;
  --brand-950: #272428;
  --brand: #aba5af;
  --brand-ink: #000000;
}

Colors that work with #aba5af

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#D7D4D9
Hairlines and dividers
Muted text#746C7A
Captions on the surface
Accent#6A705C
Second voice, not a rival
Dark variant#413C44
Hover, pressed, headers
Light variant#F2F1F3
Selected rows, tints
Dark surface#1C1A1E
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 #aba5af

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#A9AFA5
Analogous left#A6A5AF
Analogous right#AFA5AE
Split-complement 1#AEAFA5
Split-complement 2#A5AFA6
Triadic 1#AFABA5
Triadic 2#A5AFAB
Tetradic#AFA6A5

RGB percentages

Red67.1%
Green64.7%
Blue68.6%

CMYK percentages

Cyan2.3%
Magenta5.7%
Yellow0.0%
Key (black)31.4%

Color previews

#aba5af text on a black background

contrast 8.73:1

Card sample

#aba5af text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aba5af

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.

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

#aba5af, answered

What color is #aba5af?

#aba5af is a light muted gray, closest to Dark Gray (ΔE2000 6.4). It sits at 276° on the hue wheel with 6% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #aba5af?

rgb(171, 165, 175) — 171 red, 165 green and 175 blue out of 255, or 67.1% / 64.7% / 68.6% by channel.

Is #aba5af a light or a dark color?

It is a mid-tone. Relative luminance is 0.3866 and perceived brightness is 66%, so black text on it reaches 8.73:1.

Should I use black or white text on #aba5af?

Black. It scores 8.73:1 against #aba5af, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #aba5af?

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

What colors go well with #aba5af?

For interface work: #F7F7F8 as the surface, #D7D4D9 for borders, #746C7A for secondary text, #6A705C as an accent and #413C44 for hover and pressed states. For a palette, the analogous pair #A6A5AF and #AFA5AE stays calm, while #A9AFA5 is the loudest partner.

What is #aba5af in CMYK for printing?

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

Is #aba5af warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BAAEA4; nudged cooler, #98A5B2.

Work with #aba5af in the Color Lab