Skip to content

#a72056

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

RGB
167, 32, 86
HSL
336°, 68%, 39%
CMYK
0, 81, 49, 35
Luminance
0.0992

At a glance

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

Hex
#a72056
Hue
336°
magenta / pink
Saturation
68%
vivid
Lightness
39%
dark
Brightness
65%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0992
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
7.04:1
Closest name
Medium Violet Red
ΔE2000 10.5
Where it sits
Hue336° of 360°
Saturation68%
Lightness39%
Temperature
Warm ← → Cool30% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a72056
RGBrgb(167, 32, 86)
HSLhsl(336, 68%, 39%)
CMYKcmyk(0%, 81%, 49%, 35%)
LABlab(37.7 56.4 3.1)
LCHlch(37.7 56.4 3.1)
OKLCHoklch(0.486 0.173 2.8)
Decimal10952790
Display P3color(display-p3 0.655 0.125 0.337)

Copy-ready code

/* CSS */
color: #a72056;
background-color: #a72056;
/* Tailwind (arbitrary) */
class="text-[#a72056] bg-[#a72056]"
/* SCSS */
$brand: #a72056;
/* SwiftUI */
Color(red: 0.655, green: 0.125, blue: 0.337)
/* Android */
Color.parseColor("#a72056")
/* Flutter */
Color(0xFFA72056)
/* Python / OpenCV (BGR) */
(86, 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 #a72056 · 7.04:1
Use #ffffffAAA at every size.
Aa
White text · 7.04:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.98:1
AA fail · AA large fail · AAA fail
Reading the other direction: #a72056 as text scores 7.04:1 on white and 2.98:1 on black.

Accessibility — WCAG contrast

Aa
#a72056 on white: 7.04:1
AA ✓ pass · AA-large · AAA
Aa
#a72056 on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #424857
deuteranopia · #666253
tritanopia · #B60038

Color scale — 50 to 950

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

#FBF3F7
#F8E8EE
#F2CADA
#EDA1BF
#E4729F
#DB4380
#CD276A
#a72056
#891A47
#631736
#3E0E21
Base = 700Lightest = 50 · #FBF3F7Darkest = 950 · #3E0E21
:root {
  --brand-50: #FBF3F7;
  --brand-100: #F8E8EE;
  --brand-200: #F2CADA;
  --brand-300: #EDA1BF;
  --brand-400: #E4729F;
  --brand-500: #DB4380;
  --brand-600: #CD276A;
  --brand-700: #a72056;
  --brand-800: #891A47;
  --brand-900: #631736;
  --brand-950: #3E0E21;
  --brand: #a72056;
  --brand-ink: #ffffff;
}

Colors that work with #a72056

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#FAF4F7
Tinted page background
Border#EDC0D2
Hairlines and dividers
Muted text#9B4B6B
Captions on the surface
Accent#1DAF50
Second voice, not a rival
Dark variant#6B1537
Hover, pressed, headers
Light variant#FBEAF1
Selected rows, tints
Dark surface#24141A
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 #a72056

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
  • Text on black or near-black surfaces
  • 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#20A771
Analogous left#A72099
Analogous right#A72E20
Split-complement 1#20A72E
Split-complement 2#2099A7
Triadic 1#56A720
Triadic 2#2056A7
Tetradic#99A720

RGB percentages

Red65.5%
Green12.5%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta80.8%
Yellow48.5%
Key (black)34.5%

Color previews

#a72056 text on a black background

contrast 2.98:1

Card sample

#a72056 text on a white background

contrast 7.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a72056

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.

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

#a72056, answered

What color is #a72056?

#a72056 is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 10.5). It sits at 336° on the hue wheel with 68% saturation and 39% lightness, which reads as warm.

What is the RGB value of #a72056?

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

Is #a72056 a light or a dark color?

It is a dark color. Relative luminance is 0.0992 and perceived brightness is 39%, so white text on it reaches 7.04:1.

Should I use black or white text on #a72056?

White. It scores 7.04:1 against #a72056, versus 2.98:1 for black — AAA at any size.

What is the complementary color of #a72056?

#20A771 sits directly opposite on the wheel. Softer options are the split-complements #20A72E and #2099A7, which give the same contrast with far less vibration.

What colors go well with #a72056?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6B for secondary text, #1DAF50 as an accent and #6B1537 for hover and pressed states. For a palette, the analogous pair #A72099 and #A72E20 stays calm, while #20A771 is the loudest partner.

What is #a72056 in CMYK for printing?

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

Is #a72056 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A72025; nudged cooler, #A91E88.

Work with #a72056 in the Color Lab