Skip to content

#af76af

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

RGB
175, 118, 175
HSL
300°, 26%, 58%
CMYK
0, 33, 0, 31
Luminance
0.2517

At a glance

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

Hex
#af76af
Hue
300°
magenta / pink
Saturation
26%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2517
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.03:1
Closest name
Orchid
ΔE2000 9.5
Where it sits
Hue300° of 360°
Saturation26%
Lightness58%
Temperature
Warm ← → Cool50% 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#af76af
RGBrgb(175, 118, 175)
HSLhsl(300, 26%, 58%)
CMYKcmyk(0%, 33%, 0%, 31%)
LABlab(57.2 31.8 -21.3)
LCHlch(57.2 38.2 326.2)
OKLCHoklch(0.644 0.105 326.7)
Decimal11499183
Display P3color(display-p3 0.686 0.463 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af76af on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#af76af on black: 6.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7285B1
deuteranopia · #808CAD
tritanopia · #B27B8B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af76af 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
#F3EDF3
#E6D6E6
#D6B8D6
#C195C1
#af76af
#9B5A9B
#814B81
#673C67
#4C2E4C
#301D30
Base = 500Lightest = 50 · #F9F6F9Darkest = 950 · #301D30
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F3EDF3;
  --brand-200: #E6D6E6;
  --brand-300: #D6B8D6;
  --brand-400: #C195C1;
  --brand-500: #af76af;
  --brand-600: #9B5A9B;
  --brand-700: #814B81;
  --brand-800: #673C67;
  --brand-900: #4C2E4C;
  --brand-950: #301D30;
  --brand: #af76af;
  --brand-ink: #000000;
}

Colors that work with #af76af

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#E1CBE1
Hairlines and dividers
Muted text#915591
Captions on the surface
Accent#568547
Second voice, not a rival
Dark variant#512F51
Hover, pressed, headers
Light variant#F6EFF6
Selected rows, tints
Dark surface#231523
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 #af76af

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#76AF76
Analogous left#9376AF
Analogous right#AF7693
Split-complement 1#93AF76
Split-complement 2#76AF93
Triadic 1#AFAF76
Triadic 2#76AFAF
Tetradic#AF9376

RGB percentages

Red68.6%
Green46.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta32.6%
Yellow0.0%
Key (black)31.4%

Color previews

#af76af text on a black background

contrast 6.03:1

Card sample

#af76af text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af76af

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.

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

#af76af, answered

What color is #af76af?

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

What is the RGB value of #af76af?

rgb(175, 118, 175) — 175 red, 118 green and 175 blue out of 255, or 68.6% / 46.3% / 68.6% by channel.

Is #af76af a light or a dark color?

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

Should I use black or white text on #af76af?

Black. It scores 6.03:1 against #af76af, versus 3.48:1 for white — AA at any size.

What is the complementary color of #af76af?

#76AF76 sits directly opposite on the wheel. Softer options are the split-complements #93AF76 and #76AF93, which give the same contrast with far less vibration.

What colors go well with #af76af?

For interface work: #F9F5F9 as the surface, #E1CBE1 for borders, #915591 for secondary text, #568547 as an accent and #512F51 for hover and pressed states. For a palette, the analogous pair #9376AF and #AF7693 stays calm, while #76AF76 is the loudest partner.

What is #af76af in CMYK for printing?

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

Is #af76af warm or cool?

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

Work with #af76af in the Color Lab