#af9bad
a balanced, muted magenta / pink · neutral · closest name: Thistle
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.
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 |
| RGB | rgb(175, 155, 173) |
| HSL | hsl(306, 11%, 65%) |
| CMYK | cmyk(0%, 11%, 1%, 31%) |
| LAB | lab(66.2 10.6 -6.7) |
| LCH | lch(66.2 12.5 327.9) |
| OKLCH | oklch(0.713 0.034 329.1) |
| Decimal | 11508653 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af9bad
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Borders, dividers and quiet backgrounds
- ✓Long-form reading surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #A79BAF | Neighbour, quieter | |
| Analogous right | #AF9BA3 | Neighbour, quieter | |
| Split-complement 1 | #A3AF9B | Contrast without the clash | |
| Split-complement 2 | #9BAFA7 | Contrast without the clash | |
| Triadic 1 | #ADAF9B | Even thirds — balanced and loud | |
| Triadic 2 | #9BADAF | Even thirds — balanced and loud | |
| Tetradic | #AFA79B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af9bad text on a black background
contrast 8.11:1
#af9bad text on a white background
contrast 2.59:1
CSS3 live lab
The quick brown fox
color: #af9bad;
background-color: #af9bad;
Glowing headline
text-shadow: 2px 2px 8px #af9bad;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 155, 173, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 155, 173, 0.45);
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.
Closest color with a full write-up: Lilac (#c8a2c8) — ΔE2000 8.4 away, with its history, psychology and brand usage.
#af9bad in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.