Skip to content

#b50488

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

RGB
181, 4, 136
HSL
315°, 96%, 36%
CMYK
0, 98, 25, 29
Luminance
0.1169

At a glance

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

Hex
#b50488
Hue
315°
magenta / pink
Saturation
96%
electric
Lightness
36%
dark
Brightness
71%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1169
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.29:1
Closest name
Medium Violet Red
ΔE2000 4.9
Where it sits
Hue315° of 360°
Saturation96%
Lightness36%
Temperature
Warm ← → Cool42% 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#b50488
RGBrgb(181, 4, 136)
HSLhsl(315, 96%, 36%)
CMYKcmyk(0%, 98%, 25%, 29%)
LABlab(40.7 69.5 -23.5)
LCHlch(40.7 73.4 341.3)
OKLCHoklch(0.518 0.220 343.3)
Decimal11863176
Display P3color(display-p3 0.710 0.016 0.533)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#b50488 on white: 6.29:1
AA ✓ pass · AA-large · AAA
Aa
#b50488 on black: 3.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #284F8B
deuteranopia · #5F6985
tritanopia · #C1044F

Color scale — 50 to 950

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

#FDF1FA
#FCE4F6
#FAC1EC
#FD91E1
#FB5AD2
#FA23C3
#F005B4
#b50488
#A00478
#730758
#480537
Base = 700Lightest = 50 · #FDF1FADarkest = 950 · #480537
:root {
  --brand-50: #FDF1FA;
  --brand-100: #FCE4F6;
  --brand-200: #FAC1EC;
  --brand-300: #FD91E1;
  --brand-400: #FB5AD2;
  --brand-500: #FA23C3;
  --brand-600: #F005B4;
  --brand-700: #b50488;
  --brand-800: #A00478;
  --brand-900: #730758;
  --brand-950: #480537;
  --brand: #b50488;
  --brand-ink: #ffffff;
}

Colors that work with #b50488

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#EDC0E1
Hairlines and dividers
Muted text#9B4B86
Captions on the surface
Accent#00CC01
Second voice, not a rival
Dark variant#7D035E
Hover, pressed, headers
Light variant#FEE6F8
Selected rows, tints
Dark surface#241420
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 #b50488

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#04B531
Analogous left#8A04B5
Analogous right#B5042F
Split-complement 1#2FB504
Split-complement 2#04B58A
Triadic 1#88B504
Triadic 2#0488B5
Tetradic#B58A04

RGB percentages

Red71.0%
Green1.6%
Blue53.3%

CMYK percentages

Cyan0.0%
Magenta97.8%
Yellow24.9%
Key (black)29.0%

Color previews

#b50488 text on a black background

contrast 3.34:1

Card sample

#b50488 text on a white background

contrast 6.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b50488

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.

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

#b50488, answered

What color is #b50488?

#b50488 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 4.9). It sits at 315° on the hue wheel with 96% saturation and 36% lightness, which reads as warm.

What is the RGB value of #b50488?

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

Is #b50488 a light or a dark color?

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

Should I use black or white text on #b50488?

White. It scores 6.29:1 against #b50488, versus 3.34:1 for black — AA at any size.

What is the complementary color of #b50488?

#04B531 sits directly opposite on the wheel. Softer options are the split-complements #2FB504 and #04B58A, which give the same contrast with far less vibration.

What colors go well with #b50488?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B86 for secondary text, #00CC01 as an accent and #7D035E for hover and pressed states. For a palette, the analogous pair #8A04B5 and #B5042F stays calm, while #04B531 is the loudest partner.

What is #b50488 in CMYK for printing?

cmyk(0%, 98%, 25%, 29%). 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 #b50488 warm or cool?

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

Work with #b50488 in the Color Lab