Skip to content

#a720a2

a dark, vivid magenta / pink · neutral · closest name: Dark Magenta

RGB
167, 32, 162
HSL
302°, 68%, 39%
CMYK
0, 81, 3, 35
Luminance
0.1186

At a glance

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

Hex
#a720a2
Hue
302°
magenta / pink
Saturation
68%
vivid
Lightness
39%
dark
Brightness
65%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1186
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
6.23:1
Closest name
Dark Magenta
ΔE2000 7.1
Where it sits
Hue302° of 360°
Saturation68%
Lightness39%
Temperature
Warm ← → Cool49% 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#a720a2
RGBrgb(167, 32, 162)
HSLhsl(302, 68%, 39%)
CMYKcmyk(0%, 81%, 3%, 35%)
LABlab(41.0 65.8 -39.1)
LCHlch(41.0 76.5 329.3)
OKLCHoklch(0.520 0.215 329.9)
Decimal10952866
Display P3color(display-p3 0.655 0.125 0.635)

Copy-ready code

/* CSS */
color: #a720a2;
background-color: #a720a2;
/* Tailwind (arbitrary) */
class="text-[#a720a2] bg-[#a720a2]"
/* SCSS */
$brand: #a720a2;
/* SwiftUI */
Color(red: 0.655, green: 0.125, blue: 0.635)
/* Android */
Color.parseColor("#a720a2")
/* Flutter */
Color(0xFFA720A2)
/* Python / OpenCV (BGR) */
(162, 32, 167)

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 #a720a2 · 6.23:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.23:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.37:1
AA fail · AA large pass · AAA fail
Reading the other direction: #a720a2 as text scores 6.23:1 on white and 3.37:1 on black.

Accessibility — WCAG contrast

Aa
#a720a2 on white: 6.23:1
AA ✓ pass · AA-large · AAA
Aa
#a720a2 on black: 3.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0055A5
deuteranopia · #4C679F
tritanopia · #AD3662

Color scale — 50 to 950

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

#FBF3FB
#F8E8F7
#F2CAF0
#EDA1EA
#E472E0
#DB43D5
#CD27C7
#a720a2
#891A85
#631761
#3E0E3C
Base = 700Lightest = 50 · #FBF3FBDarkest = 950 · #3E0E3C
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F2CAF0;
  --brand-300: #EDA1EA;
  --brand-400: #E472E0;
  --brand-500: #DB43D5;
  --brand-600: #CD27C7;
  --brand-700: #a720a2;
  --brand-800: #891A85;
  --brand-900: #631761;
  --brand-950: #3E0E3C;
  --brand: #a720a2;
  --brand-ink: #ffffff;
}

Colors that work with #a720a2

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#EDC0EB
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#3CAF1D
Second voice, not a rival
Dark variant#6B1568
Hover, pressed, headers
Light variant#FBEAFA
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 #a720a2

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#20A725
Analogous left#6820A7
Analogous right#A7205F
Split-complement 1#5FA720
Split-complement 2#20A768
Triadic 1#A2A720
Triadic 2#20A2A7
Tetradic#A76820

RGB percentages

Red65.5%
Green12.5%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta80.8%
Yellow3.0%
Key (black)34.5%

Color previews

#a720a2 text on a black background

contrast 3.37:1

Card sample

#a720a2 text on a white background

contrast 6.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a720a2

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.

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

#a720a2, answered

What color is #a720a2?

#a720a2 is a dark vivid magenta / pink, closest to Dark Magenta (ΔE2000 7.1). It sits at 302° on the hue wheel with 68% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #a720a2?

rgb(167, 32, 162) — 167 red, 32 green and 162 blue out of 255, or 65.5% / 12.5% / 63.5% by channel.

Is #a720a2 a light or a dark color?

It is a dark color. Relative luminance is 0.1186 and perceived brightness is 43%, so white text on it reaches 6.23:1.

Should I use black or white text on #a720a2?

White. It scores 6.23:1 against #a720a2, versus 3.37:1 for black — AA at any size.

What is the complementary color of #a720a2?

#20A725 sits directly opposite on the wheel. Softer options are the split-complements #5FA720 and #20A768, which give the same contrast with far less vibration.

What colors go well with #a720a2?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #3CAF1D as an accent and #6B1568 for hover and pressed states. For a palette, the analogous pair #6820A7 and #A7205F stays calm, while #20A725 is the loudest partner.

What is #a720a2 in CMYK for printing?

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

Is #a720a2 warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A72070; nudged cooler, #7B1EA9.

Work with #a720a2 in the Color Lab