Skip to content

#ac2ac6

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

RGB
172, 42, 198
HSL
290°, 65%, 47%
CMYK
13, 79, 0, 22
Luminance
0.1450

At a glance

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

Hex
#ac2ac6
Hue
290°
magenta / pink
Saturation
65%
vivid
Lightness
47%
balanced
Brightness
78%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1450
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.38:1
Closest name
Dark Orchid
ΔE2000 3.7
Where it sits
Hue290° of 360°
Saturation65%
Lightness47%
Temperature
Warm ← → Cool56% 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#ac2ac6
RGBrgb(172, 42, 198)
HSLhsl(290, 65%, 47%)
CMYKcmyk(13%, 79%, 0%, 22%)
LABlab(45.0 70.1 -53.9)
LCHlch(45.0 88.5 322.4)
OKLCHoklch(0.557 0.236 320.1)
Decimal11283142
Display P3color(display-p3 0.675 0.165 0.776)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2ac6 on white: 5.38:1
AA ✓ pass · AA-large · AAA
Aa
#ac2ac6 on black: 3.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062CA
deuteranopia · #3A6FC3
tritanopia · #AD4C79

Color scale — 50 to 950

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

#FAF3FB
#F5E8F7
#EACBF1
#DFA2EB
#CF74E2
#BF46D8
#ac2ac6
#9224A8
#751D87
#561962
#350F3D
Base = 600Lightest = 50 · #FAF3FBDarkest = 950 · #350F3D
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F5E8F7;
  --brand-200: #EACBF1;
  --brand-300: #DFA2EB;
  --brand-400: #CF74E2;
  --brand-500: #BF46D8;
  --brand-600: #ac2ac6;
  --brand-700: #9224A8;
  --brand-800: #751D87;
  --brand-900: #561962;
  --brand-950: #350F3D;
  --brand: #ac2ac6;
  --brand-ink: #ffffff;
}

Colors that work with #ac2ac6

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#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#5AAD1F
Second voice, not a rival
Dark variant#5B1669
Hover, pressed, headers
Light variant#F8EAFB
Selected rows, tints
Dark surface#221424
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 #ac2ac6

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#44C62A
Analogous left#5E2AC6
Analogous right#C62A92
Split-complement 1#92C62A
Split-complement 2#2AC65E
Triadic 1#C6AC2A
Triadic 2#2AC6AC
Tetradic#C65E2A

RGB percentages

Red67.5%
Green16.5%
Blue77.6%

CMYK percentages

Cyan13.1%
Magenta78.8%
Yellow0.0%
Key (black)22.4%

Color previews

#ac2ac6 text on a black background

contrast 3.90:1

Card sample

#ac2ac6 text on a white background

contrast 5.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2ac6

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.

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

#ac2ac6, answered

What color is #ac2ac6?

#ac2ac6 is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 3.7). It sits at 290° on the hue wheel with 65% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #ac2ac6?

rgb(172, 42, 198) — 172 red, 42 green and 198 blue out of 255, or 67.5% / 16.5% / 77.6% by channel.

Is #ac2ac6 a light or a dark color?

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

Should I use black or white text on #ac2ac6?

White. It scores 5.38:1 against #ac2ac6, versus 3.90:1 for black — AA at any size.

What is the complementary color of #ac2ac6?

#44C62A sits directly opposite on the wheel. Softer options are the split-complements #92C62A and #2AC65E, which give the same contrast with far less vibration.

What colors go well with #ac2ac6?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8E4B9B for secondary text, #5AAD1F as an accent and #5B1669 for hover and pressed states. For a palette, the analogous pair #5E2AC6 and #C62A92 stays calm, while #44C62A is the loudest partner.

What is #ac2ac6 in CMYK for printing?

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

Is #ac2ac6 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C62AA7; nudged cooler, #7328C9.

Work with #ac2ac6 in the Color Lab