Skip to content

#ac4eb4

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

RGB
172, 78, 180
HSL
295°, 41%, 51%
CMYK
4, 57, 0, 29
Luminance
0.1751

At a glance

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

Hex
#ac4eb4
Hue
295°
magenta / pink
Saturation
41%
soft
Lightness
51%
balanced
Brightness
71%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1751
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
4.66:1
Closest name
Medium Orchid
ΔE2000 5.8
Where it sits
Hue295° of 360°
Saturation41%
Lightness51%
Temperature
Warm ← → Cool53% 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#ac4eb4
RGBrgb(172, 78, 180)
HSLhsl(295, 41%, 51%)
CMYKcmyk(4%, 57%, 0%, 29%)
LABlab(48.9 52.8 -37.2)
LCHlch(48.9 64.6 324.9)
OKLCHoklch(0.582 0.177 324.4)
Decimal11292340
Display P3color(display-p3 0.675 0.306 0.706)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4eb4 on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#ac4eb4 on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3F6DB7
deuteranopia · #5E78B1
tritanopia · #AF5C7A

Color scale — 50 to 950

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

#F9F5FA
#F4EBF5
#E8D2EA
#DAB0DE
#C889CD
#B561BC
#ac4eb4
#893D8F
#6D3173
#502654
#321835
Base = 600Lightest = 50 · #F9F5FADarkest = 950 · #321835
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F4EBF5;
  --brand-200: #E8D2EA;
  --brand-300: #DAB0DE;
  --brand-400: #C889CD;
  --brand-500: #B561BC;
  --brand-600: #ac4eb4;
  --brand-700: #893D8F;
  --brand-800: #6D3173;
  --brand-900: #502654;
  --brand-950: #321835;
  --brand: #ac4eb4;
  --brand-ink: #ffffff;
}

Colors that work with #ac4eb4

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#E4C6E7
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#579339
Second voice, not a rival
Dark variant#56265A
Hover, pressed, headers
Light variant#F7EDF7
Selected rows, tints
Dark surface#231424
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 #ac4eb4

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#56B44E
Analogous left#794EB4
Analogous right#B44E89
Split-complement 1#89B44E
Split-complement 2#4EB479
Triadic 1#B4AC4E
Triadic 2#4EB4AC
Tetradic#B4794E

RGB percentages

Red67.5%
Green30.6%
Blue70.6%

CMYK percentages

Cyan4.4%
Magenta56.7%
Yellow0.0%
Key (black)29.4%

Color previews

#ac4eb4 text on a black background

contrast 4.50:1

Card sample

#ac4eb4 text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4eb4

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.

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

#ac4eb4, answered

What color is #ac4eb4?

#ac4eb4 is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 5.8). It sits at 295° on the hue wheel with 41% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #ac4eb4?

rgb(172, 78, 180) — 172 red, 78 green and 180 blue out of 255, or 67.5% / 30.6% / 70.6% by channel.

Is #ac4eb4 a light or a dark color?

It is a dark color. Relative luminance is 0.1751 and perceived brightness is 50%, so white text on it reaches 4.66:1.

Should I use black or white text on #ac4eb4?

White. It scores 4.66:1 against #ac4eb4, versus 4.50:1 for black — AA at any size.

What is the complementary color of #ac4eb4?

#56B44E sits directly opposite on the wheel. Softer options are the split-complements #89B44E and #4EB479, which give the same contrast with far less vibration.

What colors go well with #ac4eb4?

For interface work: #FAF4FA as the surface, #E4C6E7 for borders, #954B9B for secondary text, #579339 as an accent and #56265A for hover and pressed states. For a palette, the analogous pair #794EB4 and #B44E89 stays calm, while #56B44E is the loudest partner.

What is #ac4eb4 in CMYK for printing?

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

Is #ac4eb4 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B44E97; nudged cooler, #874BB7.

Work with #ac4eb4 in the Color Lab