Skip to content

#af7caa

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

RGB
175, 124, 170
HSL
306°, 24%, 59%
CMYK
0, 29, 3, 31
Luminance
0.2643

At a glance

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

Hex
#af7caa
Hue
306°
magenta / pink
Saturation
24%
soft
Lightness
59%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2643
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.29:1
Closest name
Orchid
ΔE2000 11.1
Where it sits
Hue306° of 360°
Saturation24%
Lightness59%
Temperature
Warm ← → Cool48% 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#af7caa
RGBrgb(175, 124, 170)
HSLhsl(306, 24%, 59%)
CMYKcmyk(0%, 29%, 3%, 31%)
LABlab(58.5 27.5 -16.6)
LCHlch(58.5 32.1 328.9)
OKLCHoklch(0.653 0.089 329.9)
Decimal11500714
Display P3color(display-p3 0.686 0.486 0.667)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7caa on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#af7caa on black: 6.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7A88AC
deuteranopia · #868FA8
tritanopia · #B37F8C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af7caa 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
#F3EDF2
#E5D7E4
#D4B9D2
#BF96BB
#af7caa
#985D92
#7F4D7A
#653E61
#4B3048
#2F1E2D
Base = 500Lightest = 50 · #F9F6F9Darkest = 950 · #2F1E2D
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3EDF2;
  --brand-200: #E5D7E4;
  --brand-300: #D4B9D2;
  --brand-400: #BF96BB;
  --brand-500: #af7caa;
  --brand-600: #985D92;
  --brand-700: #7F4D7A;
  --brand-800: #653E61;
  --brand-900: #4B3048;
  --brand-950: #2F1E2D;
  --brand: #af7caa;
  --brand-ink: #000000;
}

Colors that work with #af7caa

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#F9F5F9
Tinted page background
Border#E0CCDE
Hairlines and dividers
Muted text#8F5789
Captions on the surface
Accent#528349
Second voice, not a rival
Dark variant#4F304C
Hover, pressed, headers
Light variant#F5EFF5
Selected rows, tints
Dark surface#231522
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 #af7caa

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#7CAF81
Analogous left#9A7CAF
Analogous right#AF7C90
Split-complement 1#90AF7C
Split-complement 2#7CAF9A
Triadic 1#AAAF7C
Triadic 2#7CAAAF
Tetradic#AF9A7C

RGB percentages

Red68.6%
Green48.6%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta29.1%
Yellow2.9%
Key (black)31.4%

Color previews

#af7caa text on a black background

contrast 6.29:1

Card sample

#af7caa text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7caa

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.

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

#af7caa, answered

What color is #af7caa?

#af7caa is a balanced soft magenta / pink, closest to Orchid (ΔE2000 11.1). It sits at 306° on the hue wheel with 24% saturation and 59% lightness, which reads as neutral.

What is the RGB value of #af7caa?

rgb(175, 124, 170) — 175 red, 124 green and 170 blue out of 255, or 68.6% / 48.6% / 66.7% by channel.

Is #af7caa a light or a dark color?

It is a mid-tone. Relative luminance is 0.2643 and perceived brightness is 57%, so black text on it reaches 6.29:1.

Should I use black or white text on #af7caa?

Black. It scores 6.29:1 against #af7caa, versus 3.34:1 for white — AA at any size.

What is the complementary color of #af7caa?

#7CAF81 sits directly opposite on the wheel. Softer options are the split-complements #90AF7C and #7CAF9A, which give the same contrast with far less vibration.

What colors go well with #af7caa?

For interface work: #F9F5F9 as the surface, #E0CCDE for borders, #8F5789 for secondary text, #528349 as an accent and #4F304C for hover and pressed states. For a palette, the analogous pair #9A7CAF and #AF7C90 stays calm, while #7CAF81 is the loudest partner.

What is #af7caa in CMYK for printing?

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

Is #af7caa warm or cool?

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

Work with #af7caa in the Color Lab