Skip to content

#af9ab2

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

RGB
175, 154, 178
HSL
293°, 14%, 65%
CMYK
2, 14, 0, 30
Luminance
0.3544

At a glance

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

Hex
#af9ab2
Hue
293°
magenta / pink
Saturation
14%
muted
Lightness
65%
light
Brightness
70%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3544
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Muted
Best ink
Black
8.09:1
Closest name
Thistle
ΔE2000 10.5
Where it sits
Hue293° of 360°
Saturation14%
Lightness65%
Temperature
Warm ← → Cool52% 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#af9ab2
RGBrgb(175, 154, 178)
HSLhsl(293, 14%, 65%)
CMYKcmyk(2%, 14%, 0%, 30%)
LABlab(66.1 12.1 -9.6)
LCHlch(66.1 15.5 321.6)
OKLCHoklch(0.712 0.042 322.0)
Decimal11508402
Display P3color(display-p3 0.686 0.604 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9ab2 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#af9ab2 on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #989FB3
deuteranopia · #9CA1B1
tritanopia · #B09CA2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af9ab2 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
#E1DAE2
#CDBFCE
#af9ab2
#9A809E
#876A8B
#705874
#5A475D
#433645
#2A212B
Base = 400Lightest = 50 · #F8F7F8Darkest = 950 · #2A212B
:root {
  --brand-50: #F8F7F8;
  --brand-100: #F1EEF1;
  --brand-200: #E1DAE2;
  --brand-300: #CDBFCE;
  --brand-400: #af9ab2;
  --brand-500: #9A809E;
  --brand-600: #876A8B;
  --brand-700: #705874;
  --brand-800: #5A475D;
  --brand-900: #433645;
  --brand-950: #2A212B;
  --brand: #af9ab2;
  --brand-ink: #000000;
}

Colors that work with #af9ab2

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#F8F6F8
Tinted page background
Border#DAD1DC
Hairlines and dividers
Muted text#7E6382
Captions on the surface
Accent#617854
Second voice, not a rival
Dark variant#463748
Hover, pressed, headers
Light variant#F4F1F4
Selected rows, tints
Dark surface#1F1820
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 #af9ab2

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
  • Brand accents, badges and data highlights
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#9DB29A
Analogous left#A39AB2
Analogous right#B29AA9
Split-complement 1#A9B29A
Split-complement 2#9AB2A3
Triadic 1#B2AF9A
Triadic 2#9AB2AF
Tetradic#B2A39A

RGB percentages

Red68.6%
Green60.4%
Blue69.8%

CMYK percentages

Cyan1.7%
Magenta13.5%
Yellow0.0%
Key (black)30.2%

Color previews

#af9ab2 text on a black background

contrast 8.09:1

Card sample

#af9ab2 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9ab2

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.

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

#af9ab2, answered

What color is #af9ab2?

#af9ab2 is a light muted magenta / pink, closest to Thistle (ΔE2000 10.5). It sits at 293° on the hue wheel with 14% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #af9ab2?

rgb(175, 154, 178) — 175 red, 154 green and 178 blue out of 255, or 68.6% / 60.4% / 69.8% by channel.

Is #af9ab2 a light or a dark color?

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

Should I use black or white text on #af9ab2?

Black. It scores 8.09:1 against #af9ab2, versus 2.60:1 for white — AAA at any size.

What is the complementary color of #af9ab2?

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

What colors go well with #af9ab2?

For interface work: #F8F6F8 as the surface, #DAD1DC for borders, #7E6382 for secondary text, #617854 as an accent and #463748 for hover and pressed states. For a palette, the analogous pair #A39AB2 and #B29AA9 stays calm, while #9DB29A is the loudest partner.

What is #af9ab2 in CMYK for printing?

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

Is #af9ab2 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 #B29AAC; nudged cooler, #A698B4.

Work with #af9ab2 in the Color Lab