Skip to content

#a4289f

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

RGB
164, 40, 159
HSL
302°, 61%, 40%
CMYK
0, 76, 3, 36
Luminance
0.1191

At a glance

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

Hex
#a4289f
Hue
302°
magenta / pink
Saturation
61%
vivid
Lightness
40%
dark
Brightness
64%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1191
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
6.21:1
Closest name
Dark Magenta
ΔE2000 7.2
Where it sits
Hue302° of 360°
Saturation61%
Lightness40%
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#a4289f
RGBrgb(164, 40, 159)
HSLhsl(302, 61%, 40%)
CMYKcmyk(0%, 76%, 3%, 36%)
LABlab(41.1 62.5 -37.2)
LCHlch(41.1 72.7 329.3)
OKLCHoklch(0.519 0.204 329.8)
Decimal10758303
Display P3color(display-p3 0.643 0.157 0.624)

Copy-ready code

/* CSS */
color: #a4289f;
background-color: #a4289f;
/* Tailwind (arbitrary) */
class="text-[#a4289f] bg-[#a4289f]"
/* SCSS */
$brand: #a4289f;
/* SwiftUI */
Color(red: 0.643, green: 0.157, blue: 0.624)
/* Android */
Color.parseColor("#a4289f")
/* Flutter */
Color(0xFFA4289F)
/* Python / OpenCV (BGR) */
(159, 40, 164)

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

Accessibility — WCAG contrast

Aa
#a4289f on white: 6.21:1
AA ✓ pass · AA-large · AAA
Aa
#a4289f on black: 3.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1656A2
deuteranopia · #4E679C
tritanopia · #AA3A62

Color scale — 50 to 950

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

#FBF4FB
#F7E8F6
#F0CCEE
#E9A5E6
#DE78DA
#D34BCE
#C530BF
#a4289f
#83207F
#5F1B5D
#3C113A
Base = 700Lightest = 50 · #FBF4FBDarkest = 950 · #3C113A
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F7E8F6;
  --brand-200: #F0CCEE;
  --brand-300: #E9A5E6;
  --brand-400: #DE78DA;
  --brand-500: #D34BCE;
  --brand-600: #C530BF;
  --brand-700: #a4289f;
  --brand-800: #83207F;
  --brand-900: #5F1B5D;
  --brand-950: #3C113A;
  --brand: #a4289f;
  --brand-ink: #ffffff;
}

Colors that work with #a4289f

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#40A824
Second voice, not a rival
Dark variant#671963
Hover, pressed, headers
Light variant#FAEAF9
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 #a4289f

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#28A42D
Analogous left#6B28A4
Analogous right#A42861
Split-complement 1#61A428
Split-complement 2#28A46B
Triadic 1#9FA428
Triadic 2#289FA4
Tetradic#A46B28

RGB percentages

Red64.3%
Green15.7%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta75.6%
Yellow3.0%
Key (black)35.7%

Color previews

#a4289f text on a black background

contrast 3.38:1

Card sample

#a4289f text on a white background

contrast 6.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 40, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 40, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4289f;
background: linear-gradient(135deg, #a4289f, #A4284C);

Monochromatic scale

Palettes built from #a4289f

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.

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

#a4289f, answered

What color is #a4289f?

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

What is the RGB value of #a4289f?

rgb(164, 40, 159) — 164 red, 40 green and 159 blue out of 255, or 64.3% / 15.7% / 62.4% by channel.

Is #a4289f a light or a dark color?

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

Should I use black or white text on #a4289f?

White. It scores 6.21:1 against #a4289f, versus 3.38:1 for black — AA at any size.

What is the complementary color of #a4289f?

#28A42D sits directly opposite on the wheel. Softer options are the split-complements #61A428 and #28A46B, which give the same contrast with far less vibration.

What colors go well with #a4289f?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #40A824 as an accent and #671963 for hover and pressed states. For a palette, the analogous pair #6B28A4 and #A42861 stays calm, while #28A42D is the loudest partner.

What is #a4289f in CMYK for printing?

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

Is #a4289f 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 #A42872; nudged cooler, #7C26A6.

Work with #a4289f in the Color Lab