Skip to content

#ac00ba

a dark, electric magenta / pink · neutral · closest name: Dark Orchid

RGB
172, 0, 186
HSL
296°, 100%, 37%
CMYK
8, 100, 0, 27
Luminance
0.1232

At a glance

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

Hex
#ac00ba
Hue
296°
magenta / pink
Saturation
100%
electric
Lightness
37%
dark
Brightness
73%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1232
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.06:1
Closest name
Dark Orchid
ΔE2000 5.4
Where it sits
Hue296° of 360°
Saturation100%
Lightness37%
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#ac00ba
RGBrgb(172, 0, 186)
HSLhsl(296, 100%, 37%)
CMYKcmyk(8%, 100%, 0%, 27%)
LABlab(41.7 75.3 -52.1)
LCHlch(41.7 91.6 325.3)
OKLCHoklch(0.531 0.249 324.2)
Decimal11272378
Display P3color(display-p3 0.675 0.000 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac00ba on white: 6.06:1
AA ✓ pass · AA-large · AAA
Aa
#ac00ba on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057BE
deuteranopia · #3868B7
tritanopia · #AF386C

Color scale — 50 to 950

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

#FDF1FE
#FAE3FC
#F7C0FC
#F78FFF
#F257FF
#EE1FFF
#E200F5
#ac00ba
#9700A3
#6D0576
#440349
Base = 700Lightest = 50 · #FDF1FEDarkest = 950 · #440349
:root {
  --brand-50: #FDF1FE;
  --brand-100: #FAE3FC;
  --brand-200: #F7C0FC;
  --brand-300: #F78FFF;
  --brand-400: #F257FF;
  --brand-500: #EE1FFF;
  --brand-600: #E200F5;
  --brand-700: #ac00ba;
  --brand-800: #9700A3;
  --brand-900: #6D0576;
  --brand-950: #440349;
  --brand: #ac00ba;
  --brand-ink: #ffffff;
}

Colors that work with #ac00ba

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#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#42CC00
Second voice, not a rival
Dark variant#760080
Hover, pressed, headers
Light variant#FDE5FF
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 #ac00ba

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#0EBA00
Analogous left#4F00BA
Analogous right#BA006B
Split-complement 1#6BBA00
Split-complement 2#00BA4F
Triadic 1#BAAC00
Triadic 2#00BAAC
Tetradic#BA4F00

RGB percentages

Red67.5%
Green0.0%
Blue72.9%

CMYK percentages

Cyan7.5%
Magenta100.0%
Yellow0.0%
Key (black)27.1%

Color previews

#ac00ba text on a black background

contrast 3.46:1

Card sample

#ac00ba text on a white background

contrast 6.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac00ba

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.

#ac00ba 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ac00ba, answered

What color is #ac00ba?

#ac00ba is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 5.4). It sits at 296° on the hue wheel with 100% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #ac00ba?

rgb(172, 0, 186) — 172 red, 0 green and 186 blue out of 255, or 67.5% / 0% / 72.9% by channel.

Is #ac00ba a light or a dark color?

It is a dark color. Relative luminance is 0.1232 and perceived brightness is 44%, so white text on it reaches 6.06:1.

Should I use black or white text on #ac00ba?

White. It scores 6.06:1 against #ac00ba, versus 3.46:1 for black — AA at any size.

What is the complementary color of #ac00ba?

#0EBA00 sits directly opposite on the wheel. Softer options are the split-complements #6BBA00 and #00BA4F, which give the same contrast with far less vibration.

What colors go well with #ac00ba?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #42CC00 as an accent and #760080 for hover and pressed states. For a palette, the analogous pair #4F00BA and #BA006B stays calm, while #0EBA00 is the loudest partner.

What is #ac00ba in CMYK for printing?

cmyk(8%, 100%, 0%, 27%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ac00ba 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 #BA0084; nudged cooler, #6800BA.

Work with #ac00ba in the Color Lab