Skip to content

#ad2ba1

a dark, vivid magenta / pink · neutral · closest name: Medium Violet Red

RGB
173, 43, 161
HSL
306°, 60%, 42%
CMYK
0, 75, 7, 32
Luminance
0.1319

At a glance

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

Hex
#ad2ba1
Hue
306°
magenta / pink
Saturation
60%
vivid
Lightness
42%
dark
Brightness
68%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1319
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.77:1
Closest name
Medium Violet Red
ΔE2000 8.5
Where it sits
Hue306° of 360°
Saturation60%
Lightness42%
Temperature
Warm ← → Cool47% 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#ad2ba1
RGBrgb(173, 43, 161)
HSLhsl(306, 60%, 42%)
CMYKcmyk(0%, 75%, 7%, 32%)
LABlab(43.0 63.8 -35.2)
LCHlch(43.0 72.9 331.2)
OKLCHoklch(0.536 0.207 332.2)
Decimal11348897
Display P3color(display-p3 0.678 0.169 0.631)

Copy-ready code

/* CSS */
color: #ad2ba1;
background-color: #ad2ba1;
/* Tailwind (arbitrary) */
class="text-[#ad2ba1] bg-[#ad2ba1]"
/* SCSS */
$brand: #ad2ba1;
/* SwiftUI */
Color(red: 0.678, green: 0.169, blue: 0.631)
/* Android */
Color.parseColor("#ad2ba1")
/* Flutter */
Color(0xFFAD2BA1)
/* Python / OpenCV (BGR) */
(161, 43, 173)

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 #ad2ba1 · 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: #ad2ba1 as text scores 5.77:1 on white and 3.64:1 on black.

Accessibility — WCAG contrast

Aa
#ad2ba1 on white: 5.77:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ba1 on black: 3.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #225AA4
deuteranopia · #566C9E
tritanopia · #B43A64

Color scale — 50 to 950

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

#FBF4FA
#F7E9F6
#EFCCEC
#E9A5E2
#DE78D4
#D24BC6
#C431B7
#ad2ba1
#83207A
#5F1B59
#3B1138
Base = 700Lightest = 50 · #FBF4FADarkest = 950 · #3B1138
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E9F6;
  --brand-200: #EFCCEC;
  --brand-300: #E9A5E2;
  --brand-400: #DE78D4;
  --brand-500: #D24BC6;
  --brand-600: #C431B7;
  --brand-700: #ad2ba1;
  --brand-800: #83207A;
  --brand-900: #5F1B59;
  --brand-950: #3B1138;
  --brand: #ad2ba1;
  --brand-ink: #ffffff;
}

Colors that work with #ad2ba1

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#EDC0E9
Hairlines and dividers
Muted text#9B4B94
Captions on the surface
Accent#39A725
Second voice, not a rival
Dark variant#66195F
Hover, pressed, headers
Light variant#FAEBF9
Selected rows, tints
Dark surface#241423
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 #ad2ba1

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#2BAD37
Analogous left#782BAD
Analogous right#AD2B60
Split-complement 1#60AD2B
Split-complement 2#2BAD78
Triadic 1#A1AD2B
Triadic 2#2BA1AD
Tetradic#AD782B

RGB percentages

Red67.8%
Green16.9%
Blue63.1%

CMYK percentages

Cyan0.0%
Magenta75.1%
Yellow6.9%
Key (black)32.2%

Color previews

#ad2ba1 text on a black background

contrast 3.64:1

Card sample

#ad2ba1 text on a white background

contrast 5.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 43, 161, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 43, 161, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2ba1;
background: linear-gradient(135deg, #ad2ba1, #AD2B4A);

Monochromatic scale

Palettes built from #ad2ba1

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.

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

#ad2ba1, answered

What color is #ad2ba1?

#ad2ba1 is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 8.5). It sits at 306° on the hue wheel with 60% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #ad2ba1?

rgb(173, 43, 161) — 173 red, 43 green and 161 blue out of 255, or 67.8% / 16.9% / 63.1% by channel.

Is #ad2ba1 a light or a dark color?

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

Should I use black or white text on #ad2ba1?

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

What is the complementary color of #ad2ba1?

#2BAD37 sits directly opposite on the wheel. Softer options are the split-complements #60AD2B and #2BAD78, which give the same contrast with far less vibration.

What colors go well with #ad2ba1?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B94 for secondary text, #39A725 as an accent and #66195F for hover and pressed states. For a palette, the analogous pair #782BAD and #AD2B60 stays calm, while #2BAD37 is the loudest partner.

What is #ad2ba1 in CMYK for printing?

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

Is #ad2ba1 warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AD2B72; nudged cooler, #8A29AF.

Work with #ad2ba1 in the Color Lab