Skip to content

#ac98ac

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

RGB
172, 152, 172
HSL
300°, 11%, 64%
CMYK
0, 12, 0, 33
Luminance
0.3421

At a glance

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

Hex
#ac98ac
Hue
300°
magenta / pink
Saturation
11%
muted
Lightness
64%
balanced
Brightness
67%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3421
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Muted
Best ink
Black
7.84:1
Closest name
Rosy Brown
ΔE2000 11.1
Where it sits
Hue300° of 360°
Saturation11%
Lightness64%
Temperature
Warm ← → Cool50% 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#ac98ac
RGBrgb(172, 152, 172)
HSLhsl(300, 11%, 64%)
CMYKcmyk(0%, 12%, 0%, 33%)
LABlab(65.1 11.0 -7.7)
LCHlch(65.1 13.4 325.1)
OKLCHoklch(0.704 0.037 326.0)
Decimal11311276
Display P3color(display-p3 0.675 0.596 0.675)

Copy-ready code

/* CSS */
color: #ac98ac;
background-color: #ac98ac;
/* Tailwind (arbitrary) */
class="text-[#ac98ac] bg-[#ac98ac]"
/* SCSS */
$brand: #ac98ac;
/* SwiftUI */
Color(red: 0.675, green: 0.596, blue: 0.675)
/* Android */
Color.parseColor("#ac98ac")
/* Flutter */
Color(0xFFAC98AC)
/* Python / OpenCV (BGR) */
(172, 152, 172)

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

Accessibility — WCAG contrast

Aa
#ac98ac on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#ac98ac on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #979DAD
deuteranopia · #9B9FAB
tritanopia · #AD999F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac98ac 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
#E1DBE1
#CDC1CD
#ac98ac
#9B839B
#886D88
#715B71
#5A495A
#433743
#2A222A
Base = 400Lightest = 50 · #F8F7F8Darkest = 950 · #2A222A
:root {
  --brand-50: #F8F7F8;
  --brand-100: #F1EEF1;
  --brand-200: #E1DBE1;
  --brand-300: #CDC1CD;
  --brand-400: #ac98ac;
  --brand-500: #9B839B;
  --brand-600: #886D88;
  --brand-700: #715B71;
  --brand-800: #5A495A;
  --brand-900: #433743;
  --brand-950: #2A222A;
  --brand: #ac98ac;
  --brand-ink: #000000;
}

Colors that work with #ac98ac

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#DBD2DB
Hairlines and dividers
Muted text#7F667F
Captions on the surface
Accent#5E7557
Second voice, not a rival
Dark variant#473947
Hover, pressed, headers
Light variant#F4F1F4
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 #ac98ac

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#98AC98
Analogous left#A298AC
Analogous right#AC98A2
Split-complement 1#A2AC98
Split-complement 2#98ACA2
Triadic 1#ACAC98
Triadic 2#98ACAC
Tetradic#ACA298

RGB percentages

Red67.5%
Green59.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta11.6%
Yellow0.0%
Key (black)32.5%

Color previews

#ac98ac text on a black background

contrast 7.84:1

Card sample

#ac98ac text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac98ac

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.

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

#ac98ac, answered

What color is #ac98ac?

#ac98ac is a balanced muted magenta / pink, closest to Rosy Brown (ΔE2000 11.1). It sits at 300° on the hue wheel with 11% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #ac98ac?

rgb(172, 152, 172) — 172 red, 152 green and 172 blue out of 255, or 67.5% / 59.6% / 67.5% by channel.

Is #ac98ac a light or a dark color?

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

Should I use black or white text on #ac98ac?

Black. It scores 7.84:1 against #ac98ac, versus 2.68:1 for white — AAA at any size.

What is the complementary color of #ac98ac?

#98AC98 sits directly opposite on the wheel. Softer options are the split-complements #A2AC98 and #98ACA2, which give the same contrast with far less vibration.

What colors go well with #ac98ac?

For interface work: #F8F7F8 as the surface, #DBD2DB for borders, #7F667F for secondary text, #5E7557 as an accent and #473947 for hover and pressed states. For a palette, the analogous pair #A298AC and #AC98A2 stays calm, while #98AC98 is the loudest partner.

What is #ac98ac in CMYK for printing?

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

Is #ac98ac warm or cool?

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

Work with #ac98ac in the Color Lab