Skip to content

#af8399

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

RGB
175, 131, 153
HSL
330°, 22%, 60%
CMYK
0, 25, 13, 31
Luminance
0.2765

At a glance

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

Hex
#af8399
Hue
330°
magenta / pink
Saturation
22%
soft
Lightness
60%
balanced
Brightness
69%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2765
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.53:1
Closest name
Rosy Brown
ΔE2000 9
Where it sits
Hue330° of 360°
Saturation22%
Lightness60%
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#af8399
RGBrgb(175, 131, 153)
HSLhsl(330, 22%, 60%)
CMYKcmyk(0%, 25%, 13%, 31%)
LABlab(59.6 20.4 -5.1)
LCHlch(59.6 21.1 345.9)
OKLCHoklch(0.659 0.062 347.4)
Decimal11502489
Display P3color(display-p3 0.686 0.514 0.600)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8399 on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#af8399 on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #868B9A
deuteranopia · #909298
tritanopia · #B5828A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af8399 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.

#F9F6F7
#F2EDF0
#E4D8DE
#D3BBC7
#BD99AB
#af8399
#95607A
#7C5066
#634052
#49313D
#2E1F26
Base = 500Lightest = 50 · #F9F6F7Darkest = 950 · #2E1F26
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F2EDF0;
  --brand-200: #E4D8DE;
  --brand-300: #D3BBC7;
  --brand-400: #BD99AB;
  --brand-500: #af8399;
  --brand-600: #95607A;
  --brand-700: #7C5066;
  --brand-800: #634052;
  --brand-900: #49313D;
  --brand-950: #2E1F26;
  --brand: #af8399;
  --brand-ink: #000000;
}

Colors that work with #af8399

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#DFCDD6
Hairlines and dividers
Muted text#8C5A73
Captions on the surface
Accent#4C8059
Second voice, not a rival
Dark variant#4E3240
Hover, pressed, headers
Light variant#F5EFF2
Selected rows, tints
Dark surface#22161C
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 #af8399

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#83AF99
Analogous left#AF83AF
Analogous right#AF8383
Split-complement 1#83AF83
Split-complement 2#83AFAF
Triadic 1#99AF83
Triadic 2#8399AF
Tetradic#AFAF83

RGB percentages

Red68.6%
Green51.4%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta25.1%
Yellow12.6%
Key (black)31.4%

Color previews

#af8399 text on a black background

contrast 6.53:1

Card sample

#af8399 text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8399

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.

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

#af8399, answered

What color is #af8399?

#af8399 is a balanced soft magenta / pink, closest to Rosy Brown (ΔE2000 9). It sits at 330° on the hue wheel with 22% saturation and 60% lightness, which reads as warm.

What is the RGB value of #af8399?

rgb(175, 131, 153) — 175 red, 131 green and 153 blue out of 255, or 68.6% / 51.4% / 60% by channel.

Is #af8399 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2765 and perceived brightness is 58%, so black text on it reaches 6.53:1.

Should I use black or white text on #af8399?

Black. It scores 6.53:1 against #af8399, versus 3.22:1 for white — AA at any size.

What is the complementary color of #af8399?

#83AF99 sits directly opposite on the wheel. Softer options are the split-complements #83AF83 and #83AFAF, which give the same contrast with far less vibration.

What colors go well with #af8399?

For interface work: #F9F6F7 as the surface, #DFCDD6 for borders, #8C5A73 for secondary text, #4C8059 as an accent and #4E3240 for hover and pressed states. For a palette, the analogous pair #AF83AF and #AF8383 stays calm, while #83AF99 is the loudest partner.

What is #af8399 in CMYK for printing?

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

Is #af8399 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 #AF8389; nudged cooler, #B181AB.

Work with #af8399 in the Color Lab