Skip to content

#ac4da7

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

RGB
172, 77, 167
HSL
303°, 38%, 49%
CMYK
0, 55, 3, 33
Luminance
0.1687

At a glance

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

Hex
#ac4da7
Hue
303°
magenta / pink
Saturation
38%
soft
Lightness
49%
balanced
Brightness
67%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1687
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
4.80:1
Closest name
Medium Orchid
ΔE2000 8
Where it sits
Hue303° of 360°
Saturation38%
Lightness49%
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#ac4da7
RGBrgb(172, 77, 167)
HSLhsl(303, 38%, 49%)
CMYKcmyk(0%, 55%, 3%, 33%)
LABlab(48.1 51.0 -30.8)
LCHlch(48.1 59.5 328.8)
OKLCHoklch(0.574 0.167 329.5)
Decimal11292071
Display P3color(display-p3 0.675 0.302 0.655)

Copy-ready code

/* CSS */
color: #ac4da7;
background-color: #ac4da7;
/* Tailwind (arbitrary) */
class="text-[#ac4da7] bg-[#ac4da7]"
/* SCSS */
$brand: #ac4da7;
/* SwiftUI */
Color(red: 0.675, green: 0.302, blue: 0.655)
/* Android */
Color.parseColor("#ac4da7")
/* Flutter */
Color(0xFFAC4DA7)
/* Python / OpenCV (BGR) */
(167, 77, 172)

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#ffffff on #ac4da7 · 4.80:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.80:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.37:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ac4da7 as text scores 4.80:1 on white and 4.37:1 on black.

Accessibility — WCAG contrast

Aa
#ac4da7 on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#ac4da7 on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #466AAA
deuteranopia · #6477A4
tritanopia · #B25673

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac4da7 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F9
#F4EBF4
#E9D3E8
#DCB1DA
#CB8BC8
#BA64B5
#ac4da7
#8D3F89
#71326D
#532850
#341932
Base = 600Lightest = 50 · #FAF5F9Darkest = 950 · #341932
:root {
  --brand-50: #FAF5F9;
  --brand-100: #F4EBF4;
  --brand-200: #E9D3E8;
  --brand-300: #DCB1DA;
  --brand-400: #CB8BC8;
  --brand-500: #BA64B5;
  --brand-600: #ac4da7;
  --brand-700: #8D3F89;
  --brand-800: #71326D;
  --brand-900: #532850;
  --brand-950: #341932;
  --brand: #ac4da7;
  --brand-ink: #ffffff;
}

Colors that work with #ac4da7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#E6C7E4
Hairlines and dividers
Muted text#9B4B97
Captions on the surface
Accent#4C913B
Second voice, not a rival
Dark variant#582756
Hover, pressed, headers
Light variant#F7EDF7
Selected rows, tints
Dark surface#241424
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 #ac4da7

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#4DAC52
Analogous left#824DAC
Analogous right#AC4D77
Split-complement 1#77AC4D
Split-complement 2#4DAC82
Triadic 1#A7AC4D
Triadic 2#4DA7AC
Tetradic#AC824D

RGB percentages

Red67.5%
Green30.2%
Blue65.5%

CMYK percentages

Cyan0.0%
Magenta55.2%
Yellow2.9%
Key (black)32.5%

Color previews

#ac4da7 text on a black background

contrast 4.37:1

Card sample

#ac4da7 text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4da7

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.

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

#ac4da7, answered

What color is #ac4da7?

#ac4da7 is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 8). It sits at 303° on the hue wheel with 38% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #ac4da7?

rgb(172, 77, 167) — 172 red, 77 green and 167 blue out of 255, or 67.5% / 30.2% / 65.5% by channel.

Is #ac4da7 a light or a dark color?

It is a dark color. Relative luminance is 0.1687 and perceived brightness is 49%, so white text on it reaches 4.80:1.

Should I use black or white text on #ac4da7?

White. It scores 4.80:1 against #ac4da7, versus 4.37:1 for black — AA at any size.

What is the complementary color of #ac4da7?

#4DAC52 sits directly opposite on the wheel. Softer options are the split-complements #77AC4D and #4DAC82, which give the same contrast with far less vibration.

What colors go well with #ac4da7?

For interface work: #FAF4FA as the surface, #E6C7E4 for borders, #9B4B97 for secondary text, #4C913B as an accent and #582756 for hover and pressed states. For a palette, the analogous pair #824DAC and #AC4D77 stays calm, while #4DAC52 is the loudest partner.

What is #ac4da7 in CMYK for printing?

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

Is #ac4da7 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 #AC4D84; nudged cooler, #8F4AAE.

Work with #ac4da7 in the Color Lab