Skip to content

#ac39af

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

RGB
172, 57, 175
HSL
299°, 51%, 46%
CMYK
2, 67, 0, 31
Luminance
0.1479

At a glance

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

Hex
#ac39af
Hue
299°
magenta / pink
Saturation
51%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1479
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.31:1
Closest name
Dark Orchid
ΔE2000 7.1
Where it sits
Hue299° of 360°
Saturation51%
Lightness46%
Temperature
Warm ← → Cool51% 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#ac39af
RGBrgb(172, 57, 175)
HSLhsl(299, 51%, 46%)
CMYKcmyk(2%, 67%, 0%, 31%)
LABlab(45.4 61.0 -39.8)
LCHlch(45.4 72.9 326.9)
OKLCHoklch(0.555 0.202 326.8)
Decimal11286959
Display P3color(display-p3 0.675 0.224 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac39af on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#ac39af on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2462B2
deuteranopia · #5470AC
tritanopia · #B14A70

Color scale — 50 to 950

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

#FAF4FA
#F5EAF6
#ECCFED
#E2AAE3
#D480D6
#C556C8
#ac39af
#97329A
#79287B
#58215A
#371438
Base = 600Lightest = 50 · #FAF4FADarkest = 950 · #371438
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F5EAF6;
  --brand-200: #ECCFED;
  --brand-300: #E2AAE3;
  --brand-400: #D480D6;
  --brand-500: #C556C8;
  --brand-600: #ac39af;
  --brand-700: #97329A;
  --brand-800: #79287B;
  --brand-900: #58215A;
  --brand-950: #371438;
  --brand: #ac39af;
  --brand-ink: #ffffff;
}

Colors that work with #ac39af

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#EAC1EB
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#4C9E2E
Second voice, not a rival
Dark variant#5F1F60
Hover, pressed, headers
Light variant#F8ECF9
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 #ac39af

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#3CAF39
Analogous left#7139AF
Analogous right#AF3977
Split-complement 1#77AF39
Split-complement 2#39AF71
Triadic 1#AFAC39
Triadic 2#39AFAC
Tetradic#AF7139

RGB percentages

Red67.5%
Green22.4%
Blue68.6%

CMYK percentages

Cyan1.7%
Magenta67.4%
Yellow0.0%
Key (black)31.4%

Color previews

#ac39af text on a black background

contrast 3.96:1

Card sample

#ac39af text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac39af

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.

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

#ac39af, answered

What color is #ac39af?

#ac39af is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 7.1). It sits at 299° on the hue wheel with 51% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #ac39af?

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

Is #ac39af a light or a dark color?

It is a dark color. Relative luminance is 0.1479 and perceived brightness is 47%, so white text on it reaches 5.31:1.

Should I use black or white text on #ac39af?

White. It scores 5.31:1 against #ac39af, versus 3.96:1 for black — AA at any size.

What is the complementary color of #ac39af?

#3CAF39 sits directly opposite on the wheel. Softer options are the split-complements #77AF39 and #39AF71, which give the same contrast with far less vibration.

What colors go well with #ac39af?

For interface work: #FAF4FA as the surface, #EAC1EB for borders, #994B9B for secondary text, #4C9E2E as an accent and #5F1F60 for hover and pressed states. For a palette, the analogous pair #7139AF and #AF3977 stays calm, while #3CAF39 is the loudest partner.

What is #ac39af in CMYK for printing?

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

Is #ac39af warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF3987; nudged cooler, #8137B1.

Work with #ac39af in the Color Lab