Skip to content

#ac03cc

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

RGB
172, 3, 204
HSL
290°, 97%, 41%
CMYK
16, 99, 0, 20
Luminance
0.1320

At a glance

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

Hex
#ac03cc
Hue
290°
magenta / pink
Saturation
97%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1320
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.77:1
Closest name
Dark Orchid
ΔE2000 3.8
Where it sits
Hue290° of 360°
Saturation97%
Lightness41%
Temperature
Warm ← → Cool55% 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#ac03cc
RGBrgb(172, 3, 204)
HSLhsl(290, 97%, 41%)
CMYKcmyk(16%, 99%, 0%, 20%)
LABlab(43.1 77.9 -60.5)
LCHlch(43.1 98.6 322.2)
OKLCHoklch(0.545 0.261 319.3)
Decimal11273164
Display P3color(display-p3 0.675 0.012 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac03cc on white: 5.77:1
AA ✓ pass · AA-large · AAA
Aa
#ac03cc on black: 3.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CD0
deuteranopia · #206AC8
tritanopia · #AC4477

Color scale — 50 to 950

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

#FBF1FD
#F8E4FC
#F1C1FB
#EC90FD
#E259FD
#D922FC
#CB04F1
#ac03cc
#8702A1
#620774
#3D0448
Base = 700Lightest = 50 · #FBF1FDDarkest = 950 · #3D0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F8E4FC;
  --brand-200: #F1C1FB;
  --brand-300: #EC90FD;
  --brand-400: #E259FD;
  --brand-500: #D922FC;
  --brand-600: #CB04F1;
  --brand-700: #ac03cc;
  --brand-800: #8702A1;
  --brand-900: #620774;
  --brand-950: #3D0448;
  --brand: #ac03cc;
  --brand-ink: #ffffff;
}

Colors that work with #ac03cc

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#54CC00
Second voice, not a rival
Dark variant#6A027E
Hover, pressed, headers
Light variant#FBE6FF
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 #ac03cc

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#23CC03
Analogous left#4703CC
Analogous right#CC0388
Split-complement 1#88CC03
Split-complement 2#03CC47
Triadic 1#CCAC03
Triadic 2#03CCAC
Tetradic#CC4703

RGB percentages

Red67.5%
Green1.2%
Blue80.0%

CMYK percentages

Cyan15.7%
Magenta98.5%
Yellow0.0%
Key (black)20.0%

Color previews

#ac03cc text on a black background

contrast 3.64:1

Card sample

#ac03cc text on a white background

contrast 5.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac03cc

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.

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

#ac03cc, answered

What color is #ac03cc?

#ac03cc is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 3.8). It sits at 290° on the hue wheel with 97% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #ac03cc?

rgb(172, 3, 204) — 172 red, 3 green and 204 blue out of 255, or 67.5% / 1.2% / 80% by channel.

Is #ac03cc a light or a dark color?

It is a dark color. Relative luminance is 0.1320 and perceived brightness is 46%, so white text on it reaches 5.77:1.

Should I use black or white text on #ac03cc?

White. It scores 5.77:1 against #ac03cc, versus 3.64:1 for black — AA at any size.

What is the complementary color of #ac03cc?

#23CC03 sits directly opposite on the wheel. Softer options are the split-complements #88CC03 and #03CC47, which give the same contrast with far less vibration.

What colors go well with #ac03cc?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8E4B9B for secondary text, #54CC00 as an accent and #6A027E for hover and pressed states. For a palette, the analogous pair #4703CC and #CC0388 stays calm, while #23CC03 is the loudest partner.

What is #ac03cc in CMYK for printing?

cmyk(16%, 99%, 0%, 20%). 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 #ac03cc warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CC03A3; nudged cooler, #6201CE.

Work with #ac03cc in the Color Lab