Skip to content

#af7db8

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

RGB
175, 125, 184
HSL
291°, 29%, 61%
CMYK
5, 32, 0, 28
Luminance
0.2724

At a glance

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

Hex
#af7db8
Hue
291°
magenta / pink
Saturation
29%
soft
Lightness
61%
balanced
Brightness
72%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2724
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.45:1
Closest name
Orchid
ΔE2000 9.3
Where it sits
Hue291° of 360°
Saturation29%
Lightness61%
Temperature
Warm ← → Cool54% 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#af7db8
RGBrgb(175, 125, 184)
HSLhsl(291, 29%, 61%)
CMYKcmyk(5%, 32%, 0%, 28%)
LABlab(59.2 29.6 -23.4)
LCHlch(59.2 37.8 321.7)
OKLCHoklch(0.660 0.102 321.3)
Decimal11500984
Display P3color(display-p3 0.686 0.490 0.722)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7db8 on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#af7db8 on black: 6.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #778BBA
deuteranopia · #8290B6
tritanopia · #B08392

Color scale — 50 to 950

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

#F9F6F9
#F2ECF3
#E4D5E6
#D2B6D7
#BC92C4
#af7db8
#93569E
#7B4884
#623A6A
#492D4E
#2D1C31
Base = 500Lightest = 50 · #F9F6F9Darkest = 950 · #2D1C31
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F2ECF3;
  --brand-200: #E4D5E6;
  --brand-300: #D2B6D7;
  --brand-400: #BC92C4;
  --brand-500: #af7db8;
  --brand-600: #93569E;
  --brand-700: #7B4884;
  --brand-800: #623A6A;
  --brand-900: #492D4E;
  --brand-950: #2D1C31;
  --brand: #af7db8;
  --brand-ink: #000000;
}

Colors that work with #af7db8

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#F9F5FA
Tinted page background
Border#DFCAE2
Hairlines and dividers
Muted text#8A5194
Captions on the surface
Accent#5F8844
Second voice, not a rival
Dark variant#4D2D52
Hover, pressed, headers
Light variant#F5EFF6
Selected rows, tints
Dark surface#221424
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 #af7db8

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#86B87D
Analogous left#917DB8
Analogous right#B87DA4
Split-complement 1#A4B87D
Split-complement 2#7DB891
Triadic 1#B8AF7D
Triadic 2#7DB8AF
Tetradic#B8917D

RGB percentages

Red68.6%
Green49.0%
Blue72.2%

CMYK percentages

Cyan4.9%
Magenta32.1%
Yellow0.0%
Key (black)27.8%

Color previews

#af7db8 text on a black background

contrast 6.45:1

Card sample

#af7db8 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7db8

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.

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

#af7db8, answered

What color is #af7db8?

#af7db8 is a balanced soft magenta / pink, closest to Orchid (ΔE2000 9.3). It sits at 291° on the hue wheel with 29% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #af7db8?

rgb(175, 125, 184) — 175 red, 125 green and 184 blue out of 255, or 68.6% / 49% / 72.2% by channel.

Is #af7db8 a light or a dark color?

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

Should I use black or white text on #af7db8?

Black. It scores 6.45:1 against #af7db8, versus 3.26:1 for white — AA at any size.

What is the complementary color of #af7db8?

#86B87D sits directly opposite on the wheel. Softer options are the split-complements #A4B87D and #7DB891, which give the same contrast with far less vibration.

What colors go well with #af7db8?

For interface work: #F9F5FA as the surface, #DFCAE2 for borders, #8A5194 for secondary text, #5F8844 as an accent and #4D2D52 for hover and pressed states. For a palette, the analogous pair #917DB8 and #B87DA4 stays calm, while #86B87D is the loudest partner.

What is #af7db8 in CMYK for printing?

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

Is #af7db8 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B87DAB; nudged cooler, #997BBA.

Work with #af7db8 in the Color Lab