Skip to content

#af79ac

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

RGB
175, 121, 172
HSL
303°, 25%, 58%
CMYK
0, 31, 2, 31
Luminance
0.2577

At a glance

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

Hex
#af79ac
Hue
303°
magenta / pink
Saturation
25%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2577
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.15:1
Closest name
Orchid
ΔE2000 10.3
Where it sits
Hue303° of 360°
Saturation25%
Lightness58%
Temperature
Warm ← → Cool49% 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#af79ac
RGBrgb(175, 121, 172)
HSLhsl(303, 25%, 58%)
CMYKcmyk(0%, 31%, 2%, 31%)
LABlab(57.8 29.5 -18.7)
LCHlch(57.8 34.9 327.7)
OKLCHoklch(0.648 0.097 328.5)
Decimal11499948
Display P3color(display-p3 0.686 0.475 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af79ac on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#af79ac on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7687AE
deuteranopia · #838DAA
tritanopia · #B37D8B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af79ac 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
#E5D6E4
#D5B9D3
#C096BE
#af79ac
#995C96
#804C7D
#663D64
#4B2F4A
#2F1D2E
Base = 500Lightest = 50 · #F9F6F9Darkest = 950 · #2F1D2E
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3EDF2;
  --brand-200: #E5D6E4;
  --brand-300: #D5B9D3;
  --brand-400: #C096BE;
  --brand-500: #af79ac;
  --brand-600: #995C96;
  --brand-700: #804C7D;
  --brand-800: #663D64;
  --brand-900: #4B2F4A;
  --brand-950: #2F1D2E;
  --brand: #af79ac;
  --brand-ink: #000000;
}

Colors that work with #af79ac

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#E0CCDF
Hairlines and dividers
Muted text#90568C
Captions on the surface
Accent#548448
Second voice, not a rival
Dark variant#50304E
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 #af79ac

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#79AF7C
Analogous left#9779AF
Analogous right#AF7991
Split-complement 1#91AF79
Split-complement 2#79AF97
Triadic 1#ACAF79
Triadic 2#79ACAF
Tetradic#AF9779

RGB percentages

Red68.6%
Green47.5%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta30.9%
Yellow1.7%
Key (black)31.4%

Color previews

#af79ac text on a black background

contrast 6.15:1

Card sample

#af79ac text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af79ac

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.

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

#af79ac, answered

What color is #af79ac?

#af79ac is a balanced soft magenta / pink, closest to Orchid (ΔE2000 10.3). It sits at 303° on the hue wheel with 25% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #af79ac?

rgb(175, 121, 172) — 175 red, 121 green and 172 blue out of 255, or 68.6% / 47.5% / 67.5% by channel.

Is #af79ac a light or a dark color?

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

Should I use black or white text on #af79ac?

Black. It scores 6.15:1 against #af79ac, versus 3.41:1 for white — AA at any size.

What is the complementary color of #af79ac?

#79AF7C sits directly opposite on the wheel. Softer options are the split-complements #91AF79 and #79AF97, which give the same contrast with far less vibration.

What colors go well with #af79ac?

For interface work: #F9F5F9 as the surface, #E0CCDF for borders, #90568C for secondary text, #548448 as an accent and #50304E for hover and pressed states. For a palette, the analogous pair #9779AF and #AF7991 stays calm, while #79AF7C is the loudest partner.

What is #af79ac in CMYK for printing?

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

Is #af79ac warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF7998; nudged cooler, #9F77B1.

Work with #af79ac in the Color Lab