Skip to content

#af899b

a balanced, soft magenta / pink · warm · closest name: Rosy Brown

RGB
175, 137, 155
HSL
332°, 19%, 61%
CMYK
0, 22, 11, 31
Luminance
0.2937

At a glance

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

Hex
#af899b
Hue
332°
magenta / pink
Saturation
19%
soft
Lightness
61%
balanced
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2937
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.87:1
Closest name
Rosy Brown
ΔE2000 7.6
Where it sits
Hue332° of 360°
Saturation19%
Lightness61%
Temperature
Warm ← → Cool40% cool

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

Every format

HEX#af899b
RGBrgb(175, 137, 155)
HSLhsl(332, 19%, 61%)
CMYKcmyk(0%, 22%, 11%, 31%)
LABlab(61.1 17.4 -4.0)
LCHlch(61.1 17.9 347.1)
OKLCHoklch(0.671 0.052 348.5)
Decimal11504027
Display P3color(display-p3 0.686 0.537 0.608)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af899b on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#af899b on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C909C
deuteranopia · #94969A
tritanopia · #B5888F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af899b is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F6F7
#F2EDF0
#E3D8DE
#D2BCC6
#BB9BAA
#af899b
#926379
#7A5265
#614251
#48323D
#2D1F26
Base = 500Lightest = 50 · #F8F6F7Darkest = 950 · #2D1F26
:root {
  --brand-50: #F8F6F7;
  --brand-100: #F2EDF0;
  --brand-200: #E3D8DE;
  --brand-300: #D2BCC6;
  --brand-400: #BB9BAA;
  --brand-500: #af899b;
  --brand-600: #926379;
  --brand-700: #7A5265;
  --brand-800: #614251;
  --brand-900: #48323D;
  --brand-950: #2D1F26;
  --brand: #af899b;
  --brand-ink: #000000;
}

Colors that work with #af899b

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#F9F6F7
Tinted page background
Border#DECED6
Hairlines and dividers
Muted text#895D72
Captions on the surface
Accent#4E7E5C
Second voice, not a rival
Dark variant#4C343F
Hover, pressed, headers
Light variant#F5F0F2
Selected rows, tints
Dark surface#21171C
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 #af899b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#89AF9D
Analogous left#AF89AE
Analogous right#AF8A89
Split-complement 1#89AF8A
Split-complement 2#89AEAF
Triadic 1#9BAF89
Triadic 2#899BAF
Tetradic#AEAF89

RGB percentages

Red68.6%
Green53.7%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow11.4%
Key (black)31.4%

Color previews

#af899b text on a black background

contrast 6.87:1

Card sample

#af899b text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af899b

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.

#af899b 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
ButtonsLinksFocus statesCharts
Print note

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

#af899b, answered

What color is #af899b?

#af899b is a balanced soft magenta / pink, closest to Rosy Brown (ΔE2000 7.6). It sits at 332° on the hue wheel with 19% saturation and 61% lightness, which reads as warm.

What is the RGB value of #af899b?

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

Is #af899b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2937 and perceived brightness is 59%, so black text on it reaches 6.87:1.

Should I use black or white text on #af899b?

Black. It scores 6.87:1 against #af899b, versus 3.05:1 for white — AA at any size.

What is the complementary color of #af899b?

#89AF9D sits directly opposite on the wheel. Softer options are the split-complements #89AF8A and #89AEAF, which give the same contrast with far less vibration.

What colors go well with #af899b?

For interface work: #F9F6F7 as the surface, #DECED6 for borders, #895D72 for secondary text, #4E7E5C as an accent and #4C343F for hover and pressed states. For a palette, the analogous pair #AF89AE and #AF8A89 stays calm, while #89AF9D is the loudest partner.

What is #af899b in CMYK for printing?

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

Is #af899b warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF898D; nudged cooler, #B187AA.

Work with #af899b in the Color Lab