Skip to content

#af8da8

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

RGB
175, 141, 168
HSL
312°, 18%, 62%
CMYK
0, 19, 4, 31
Luminance
0.3099

At a glance

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

Hex
#af8da8
Hue
312°
magenta / pink
Saturation
18%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3099
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.20:1
Closest name
Rosy Brown
ΔE2000 10.7
Where it sits
Hue312° of 360°
Saturation18%
Lightness62%
Temperature
Warm ← → Cool47% 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#af8da8
RGBrgb(175, 141, 168)
HSLhsl(312, 18%, 62%)
CMYKcmyk(0%, 19%, 4%, 31%)
LABlab(62.5 17.5 -9.3)
LCHlch(62.5 19.8 331.9)
OKLCHoklch(0.683 0.055 333.4)
Decimal11505064
Display P3color(display-p3 0.686 0.553 0.659)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8da8 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#af8da8 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D94A9
deuteranopia · #9499A7
tritanopia · #B28E96

Color scale — 50 to 950

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

#F8F6F8
#F2EEF1
#E3D9E1
#D1BDCD
#af8da8
#A27B9A
#906587
#785470
#60435A
#473343
#2C202A
Base = 400Lightest = 50 · #F8F6F8Darkest = 950 · #2C202A
:root {
  --brand-50: #F8F6F8;
  --brand-100: #F2EEF1;
  --brand-200: #E3D9E1;
  --brand-300: #D1BDCD;
  --brand-400: #af8da8;
  --brand-500: #A27B9A;
  --brand-600: #906587;
  --brand-700: #785470;
  --brand-800: #60435A;
  --brand-900: #473343;
  --brand-950: #2C202A;
  --brand: #af8da8;
  --brand-ink: #000000;
}

Colors that work with #af8da8

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#F9F6F8
Tinted page background
Border#DDCFDA
Hairlines and dividers
Muted text#875F7F
Captions on the surface
Accent#527C50
Second voice, not a rival
Dark variant#4B3546
Hover, pressed, headers
Light variant#F4F0F4
Selected rows, tints
Dark surface#21171F
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 #af8da8

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary 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#8DAF94
Analogous left#A58DAF
Analogous right#AF8D97
Split-complement 1#97AF8D
Split-complement 2#8DAFA5
Triadic 1#A8AF8D
Triadic 2#8DA8AF
Tetradic#AFA58D

RGB percentages

Red68.6%
Green55.3%
Blue65.9%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow4.0%
Key (black)31.4%

Color previews

#af8da8 text on a black background

contrast 7.20:1

Card sample

#af8da8 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8da8

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.

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

#af8da8, answered

What color is #af8da8?

#af8da8 is a balanced soft magenta / pink, closest to Rosy Brown (ΔE2000 10.7). It sits at 312° on the hue wheel with 18% saturation and 62% lightness, which reads as neutral.

What is the RGB value of #af8da8?

rgb(175, 141, 168) — 175 red, 141 green and 168 blue out of 255, or 68.6% / 55.3% / 65.9% by channel.

Is #af8da8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3099 and perceived brightness is 61%, so black text on it reaches 7.20:1.

Should I use black or white text on #af8da8?

Black. It scores 7.20:1 against #af8da8, versus 2.92:1 for white — AAA at any size.

What is the complementary color of #af8da8?

#8DAF94 sits directly opposite on the wheel. Softer options are the split-complements #97AF8D and #8DAFA5, which give the same contrast with far less vibration.

What colors go well with #af8da8?

For interface work: #F9F6F8 as the surface, #DDCFDA for borders, #875F7F for secondary text, #527C50 as an accent and #4B3546 for hover and pressed states. For a palette, the analogous pair #A58DAF and #AF8D97 stays calm, while #8DAF94 is the loudest partner.

What is #af8da8 in CMYK for printing?

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

Is #af8da8 warm or cool?

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

Work with #af8da8 in the Color Lab