Skip to content

#a50488

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

RGB
165, 4, 136
HSL
311°, 95%, 33%
CMYK
0, 98, 18, 35
Luminance
0.0986

At a glance

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

Hex
#a50488
Hue
311°
magenta / pink
Saturation
95%
electric
Lightness
33%
dark
Brightness
65%
HSV value
Perceived
40%
weighted brightness
Luminance
0.0986
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
7.06:1
Closest name
Dark Magenta
ΔE2000 6
Where it sits
Hue311° of 360°
Saturation95%
Lightness33%
Temperature
Warm ← → Cool44% 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#a50488
RGBrgb(165, 4, 136)
HSLhsl(311, 95%, 33%)
CMYKcmyk(0%, 98%, 18%, 35%)
LABlab(37.6 66.4 -28.6)
LCHlch(37.6 72.3 336.7)
OKLCHoklch(0.491 0.213 338.5)
Decimal10814600
Display P3color(display-p3 0.647 0.016 0.533)

Copy-ready code

/* CSS */
color: #a50488;
background-color: #a50488;
/* Tailwind (arbitrary) */
class="text-[#a50488] bg-[#a50488]"
/* SCSS */
$brand: #a50488;
/* SwiftUI */
Color(red: 0.647, green: 0.016, blue: 0.533)
/* Android */
Color.parseColor("#a50488")
/* Flutter */
Color(0xFFA50488)
/* Python / OpenCV (BGR) */
(136, 4, 165)

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 #a50488 · 7.06:1
Use #ffffffAAA at every size.
Aa
White text · 7.06:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.97:1
AA fail · AA large fail · AAA fail
Reading the other direction: #a50488 as text scores 7.06:1 on white and 2.97:1 on black.

Accessibility — WCAG contrast

Aa
#a50488 on white: 7.06:1
AA ✓ pass · AA-large · AAA
Aa
#a50488 on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #164A8B
deuteranopia · #516085
tritanopia · #AF164F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a50488 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF1FB
#FCE4F7
#FAC2F0
#FC91E9
#FB5BDE
#FA24D3
#EF06C5
#C705A4
#a50488
#730860
#48053C
Base = 800Lightest = 50 · #FDF1FBDarkest = 950 · #48053C
:root {
  --brand-50: #FDF1FB;
  --brand-100: #FCE4F7;
  --brand-200: #FAC2F0;
  --brand-300: #FC91E9;
  --brand-400: #FB5BDE;
  --brand-500: #FA24D3;
  --brand-600: #EF06C5;
  --brand-700: #C705A4;
  --brand-800: #a50488;
  --brand-900: #730860;
  --brand-950: #48053C;
  --brand: #a50488;
  --brand-ink: #ffffff;
}

Colors that work with #a50488

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#FAF4F9
Tinted page background
Border#EDC0E5
Hairlines and dividers
Muted text#9B4B8C
Captions on the surface
Accent#0FCB01
Second voice, not a rival
Dark variant#7D0367
Hover, pressed, headers
Light variant#FEE6FA
Selected rows, tints
Dark surface#241421
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 #a50488

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#04A521
Analogous left#7104A5
Analogous right#A50437
Split-complement 1#37A504
Split-complement 2#04A571
Triadic 1#88A504
Triadic 2#0488A5
Tetradic#A57104

RGB percentages

Red64.7%
Green1.6%
Blue53.3%

CMYK percentages

Cyan0.0%
Magenta97.6%
Yellow17.6%
Key (black)35.3%

Color previews

#a50488 text on a black background

contrast 2.97:1

Card sample

#a50488 text on a white background

contrast 7.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 4, 136, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 4, 136, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a50488;
background: linear-gradient(135deg, #a50488, #A5041D);

Monochromatic scale

Palettes built from #a50488

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.

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

#a50488, answered

What color is #a50488?

#a50488 is a dark electric magenta / pink, closest to Dark Magenta (ΔE2000 6). It sits at 311° on the hue wheel with 95% saturation and 33% lightness, which reads as neutral.

What is the RGB value of #a50488?

rgb(165, 4, 136) — 165 red, 4 green and 136 blue out of 255, or 64.7% / 1.6% / 53.3% by channel.

Is #a50488 a light or a dark color?

It is a dark color. Relative luminance is 0.0986 and perceived brightness is 40%, so white text on it reaches 7.06:1.

Should I use black or white text on #a50488?

White. It scores 7.06:1 against #a50488, versus 2.97:1 for black — AAA at any size.

What is the complementary color of #a50488?

#04A521 sits directly opposite on the wheel. Softer options are the split-complements #37A504 and #04A571, which give the same contrast with far less vibration.

What colors go well with #a50488?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8C for secondary text, #0FCB01 as an accent and #7D0367 for hover and pressed states. For a palette, the analogous pair #7104A5 and #A50437 stays calm, while #04A521 is the loudest partner.

What is #a50488 in CMYK for printing?

cmyk(0%, 98%, 18%, 35%). 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 #a50488 warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A5044D; nudged cooler, #8802A7.

Work with #a50488 in the Color Lab