Skip to content

#ab9bac

a balanced, muted magenta / pink · neutral · closest name: Thistle

RGB
171, 155, 172
HSL
297°, 9%, 64%
CMYK
1, 10, 0, 33
Luminance
0.3508

At a glance

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

Hex
#ab9bac
Hue
297°
magenta / pink
Saturation
9%
muted
Lightness
64%
balanced
Brightness
67%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3508
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Muted
Best ink
Black
8.02:1
Closest name
Thistle
ΔE2000 11.3
Where it sits
Hue297° of 360°
Saturation9%
Lightness64%
Temperature
Warm ← → Cool51% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ab9bac
RGBrgb(171, 155, 172)
HSLhsl(297, 9%, 64%)
CMYKcmyk(1%, 10%, 0%, 33%)
LABlab(65.8 9.0 -6.7)
LCHlch(65.8 11.2 323.3)
OKLCHoklch(0.709 0.030 324.1)
Decimal11246508
Display P3color(display-p3 0.671 0.608 0.675)

Copy-ready code

/* CSS */
color: #ab9bac;
background-color: #ab9bac;
/* Tailwind (arbitrary) */
class="text-[#ab9bac] bg-[#ab9bac]"
/* SCSS */
$brand: #ab9bac;
/* SwiftUI */
Color(red: 0.671, green: 0.608, blue: 0.675)
/* Android */
Color.parseColor("#ab9bac")
/* Flutter */
Color(0xFFAB9BAC)
/* Python / OpenCV (BGR) */
(172, 155, 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 #ab9bac · 8.02:1
Use #000000AAA at every size.
Aa
White text · 2.62:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ab9bac as text scores 2.62:1 on white and 8.02:1 on black.

Accessibility — WCAG contrast

Aa
#ab9bac on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#ab9bac on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9A9FAD
deuteranopia · #9DA1AB
tritanopia · #AC9CA0

Color scale — 50 to 950

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

#F8F7F8
#F1EFF1
#E0DBE1
#CCC2CC
#ab9bac
#988499
#846F86
#6E5D6F
#584A59
#423842
#29232A
Base = 400Lightest = 50 · #F8F7F8Darkest = 950 · #29232A
:root {
  --brand-50: #F8F7F8;
  --brand-100: #F1EFF1;
  --brand-200: #E0DBE1;
  --brand-300: #CCC2CC;
  --brand-400: #ab9bac;
  --brand-500: #988499;
  --brand-600: #846F86;
  --brand-700: #6E5D6F;
  --brand-800: #584A59;
  --brand-900: #423842;
  --brand-950: #29232A;
  --brand: #ab9bac;
  --brand-ink: #000000;
}

Colors that work with #ab9bac

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#F8F7F8
Tinted page background
Border#DAD2DA
Hairlines and dividers
Muted text#7C687D
Captions on the surface
Accent#617458
Second voice, not a rival
Dark variant#453A46
Hover, pressed, headers
Light variant#F3F1F3
Selected rows, tints
Dark surface#1E191F
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 #ab9bac

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
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#9CAC9B
Analogous left#A29BAC
Analogous right#AC9BA4
Split-complement 1#A4AC9B
Split-complement 2#9BACA2
Triadic 1#ACAB9B
Triadic 2#9BACAB
Tetradic#ACA29B

RGB percentages

Red67.1%
Green60.8%
Blue67.5%

CMYK percentages

Cyan0.6%
Magenta9.9%
Yellow0.0%
Key (black)32.5%

Color previews

#ab9bac text on a black background

contrast 8.02:1

Card sample

#ab9bac text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab9bac

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.

#ab9bac in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#ab9bac, answered

What color is #ab9bac?

#ab9bac is a balanced muted magenta / pink, closest to Thistle (ΔE2000 11.3). It sits at 297° on the hue wheel with 9% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #ab9bac?

rgb(171, 155, 172) — 171 red, 155 green and 172 blue out of 255, or 67.1% / 60.8% / 67.5% by channel.

Is #ab9bac a light or a dark color?

It is a mid-tone. Relative luminance is 0.3508 and perceived brightness is 63%, so black text on it reaches 8.02:1.

Should I use black or white text on #ab9bac?

Black. It scores 8.02:1 against #ab9bac, versus 2.62:1 for white — AAA at any size.

What is the complementary color of #ab9bac?

#9CAC9B sits directly opposite on the wheel. Softer options are the split-complements #A4AC9B and #9BACA2, which give the same contrast with far less vibration.

What colors go well with #ab9bac?

For interface work: #F8F7F8 as the surface, #DAD2DA for borders, #7C687D for secondary text, #617458 as an accent and #453A46 for hover and pressed states. For a palette, the analogous pair #A29BAC and #AC9BA4 stays calm, while #9CAC9B is the loudest partner.

What is #ab9bac in CMYK for printing?

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

Is #ab9bac warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B5A79C; nudged cooler, #919EAC.

Work with #ab9bac in the Color Lab