Skip to content

#af9bad

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

RGB
175, 155, 173
HSL
306°, 11%, 65%
CMYK
0, 11, 1, 31
Luminance
0.3557

At a glance

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

Hex
#af9bad
Hue
306°
magenta / pink
Saturation
11%
muted
Lightness
65%
balanced
Brightness
69%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3557
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Muted
Best ink
Black
8.11:1
Closest name
Thistle
ΔE2000 10.7
Where it sits
Hue306° of 360°
Saturation11%
Lightness65%
Temperature
Warm ← → Cool49% 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#af9bad
RGBrgb(175, 155, 173)
HSLhsl(306, 11%, 65%)
CMYKcmyk(0%, 11%, 1%, 31%)
LABlab(66.2 10.6 -6.7)
LCHlch(66.2 12.5 327.9)
OKLCHoklch(0.713 0.034 329.1)
Decimal11508653
Display P3color(display-p3 0.686 0.608 0.678)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9bad on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#af9bad on black: 8.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9A9FAE
deuteranopia · #9EA2AC
tritanopia · #B19CA1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af9bad 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
#F1EEF1
#E1DBE0
#CDC1CC
#af9bad
#9B8299
#886D85
#715B6F
#5B4959
#433742
#2A2229
Base = 400Lightest = 50 · #F8F7F8Darkest = 950 · #2A2229
:root {
  --brand-50: #F8F7F8;
  --brand-100: #F1EEF1;
  --brand-200: #E1DBE0;
  --brand-300: #CDC1CC;
  --brand-400: #af9bad;
  --brand-500: #9B8299;
  --brand-600: #886D85;
  --brand-700: #715B6F;
  --brand-800: #5B4959;
  --brand-900: #433742;
  --brand-950: #2A2229;
  --brand: #af9bad;
  --brand-ink: #000000;
}

Colors that work with #af9bad

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#DBD2DA
Hairlines and dividers
Muted text#7F667D
Captions on the surface
Accent#5B7656
Second voice, not a rival
Dark variant#473945
Hover, pressed, headers
Light variant#F4F1F3
Selected rows, tints
Dark surface#1F191F
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 #af9bad

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#9BAF9D
Analogous left#A79BAF
Analogous right#AF9BA3
Split-complement 1#A3AF9B
Split-complement 2#9BAFA7
Triadic 1#ADAF9B
Triadic 2#9BADAF
Tetradic#AFA79B

RGB percentages

Red68.6%
Green60.8%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow1.1%
Key (black)31.4%

Color previews

#af9bad text on a black background

contrast 8.11:1

Card sample

#af9bad text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9bad

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.

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

#af9bad, answered

What color is #af9bad?

#af9bad is a balanced muted magenta / pink, closest to Thistle (ΔE2000 10.7). It sits at 306° on the hue wheel with 11% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #af9bad?

rgb(175, 155, 173) — 175 red, 155 green and 173 blue out of 255, or 68.6% / 60.8% / 67.8% by channel.

Is #af9bad a light or a dark color?

It is a mid-tone. Relative luminance is 0.3557 and perceived brightness is 64%, so black text on it reaches 8.11:1.

Should I use black or white text on #af9bad?

Black. It scores 8.11:1 against #af9bad, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #af9bad?

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

What colors go well with #af9bad?

For interface work: #F8F7F8 as the surface, #DBD2DA for borders, #7F667D for secondary text, #5B7656 as an accent and #473945 for hover and pressed states. For a palette, the analogous pair #A79BAF and #AF9BA3 stays calm, while #9BAF9D is the loudest partner.

What is #af9bad in CMYK for printing?

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

Is #af9bad warm or cool?

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

Work with #af9bad in the Color Lab