Skip to content

#ba5083

a balanced, soft magenta / pink · warm · closest name: Medium Violet Red

RGB
186, 80, 131
HSL
331°, 43%, 52%
CMYK
0, 57, 30, 27
Luminance
0.1782

At a glance

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

Hex
#ba5083
Hue
331°
magenta / pink
Saturation
43%
soft
Lightness
52%
balanced
Brightness
73%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1782
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
4.60:1
Closest name
Medium Violet Red
ΔE2000 7.9
Where it sits
Hue331° of 360°
Saturation43%
Lightness52%
Temperature
Warm ← → Cool33% 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#ba5083
RGBrgb(186, 80, 131)
HSLhsl(331, 43%, 52%)
CMYKcmyk(0%, 57%, 30%, 27%)
LABlab(49.3 48.2 -7.4)
LCHlch(49.3 48.8 351.3)
OKLCHoklch(0.582 0.147 352.6)
Decimal12210307
Display P3color(display-p3 0.729 0.314 0.514)

Copy-ready code

/* CSS */
color: #ba5083;
background-color: #ba5083;
/* Tailwind (arbitrary) */
class="text-[#ba5083] bg-[#ba5083]"
/* SCSS */
$brand: #ba5083;
/* SwiftUI */
Color(red: 0.729, green: 0.314, blue: 0.514)
/* Android */
Color.parseColor("#ba5083")
/* Flutter */
Color(0xFFBA5083)
/* Python / OpenCV (BGR) */
(131, 80, 186)

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

Accessibility — WCAG contrast

Aa
#ba5083 on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#ba5083 on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5E6985
deuteranopia · #7B7C80
tritanopia · #C74B64

Color scale — 50 to 950

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

#FAF5F7
#F5EBF0
#EBD1DD
#DFAFC6
#CF86AA
#ba5083
#B04578
#923A64
#752E50
#56253C
#361726
Base = 500Lightest = 50 · #FAF5F7Darkest = 950 · #361726
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F5EBF0;
  --brand-200: #EBD1DD;
  --brand-300: #DFAFC6;
  --brand-400: #CF86AA;
  --brand-500: #ba5083;
  --brand-600: #B04578;
  --brand-700: #923A64;
  --brand-800: #752E50;
  --brand-900: #56253C;
  --brand-950: #361726;
  --brand: #ba5083;
  --brand-ink: #ffffff;
}

Colors that work with #ba5083

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#E8C4D6
Hairlines and dividers
Muted text#9B4B71
Captions on the surface
Accent#36964F
Second voice, not a rival
Dark variant#5B243F
Hover, pressed, headers
Light variant#F8EDF2
Selected rows, tints
Dark surface#24141C
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 #ba5083

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#50BA87
Analogous left#BA50B8
Analogous right#BA5250
Split-complement 1#50BA52
Split-complement 2#50B8BA
Triadic 1#83BA50
Triadic 2#5083BA
Tetradic#B8BA50

RGB percentages

Red72.9%
Green31.4%
Blue51.4%

CMYK percentages

Cyan0.0%
Magenta57.0%
Yellow29.6%
Key (black)27.1%

Color previews

#ba5083 text on a black background

contrast 4.56:1

Card sample

#ba5083 text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 80, 131, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 80, 131, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba5083;
background: linear-gradient(135deg, #ba5083, #BA6450);

Monochromatic scale

Palettes built from #ba5083

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.

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

#ba5083, answered

What color is #ba5083?

#ba5083 is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 7.9). It sits at 331° on the hue wheel with 43% saturation and 52% lightness, which reads as warm.

What is the RGB value of #ba5083?

rgb(186, 80, 131) — 186 red, 80 green and 131 blue out of 255, or 72.9% / 31.4% / 51.4% by channel.

Is #ba5083 a light or a dark color?

It is a dark color. Relative luminance is 0.1782 and perceived brightness is 50%, so white text on it reaches 4.60:1.

Should I use black or white text on #ba5083?

White. It scores 4.60:1 against #ba5083, versus 4.56:1 for black — AA at any size.

What is the complementary color of #ba5083?

#50BA87 sits directly opposite on the wheel. Softer options are the split-complements #50BA52 and #50B8BA, which give the same contrast with far less vibration.

What colors go well with #ba5083?

For interface work: #FAF4F7 as the surface, #E8C4D6 for borders, #9B4B71 for secondary text, #36964F as an accent and #5B243F for hover and pressed states. For a palette, the analogous pair #BA50B8 and #BA5250 stays calm, while #50BA87 is the loudest partner.

What is #ba5083 in CMYK for printing?

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

Is #ba5083 warm or cool?

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

Work with #ba5083 in the Color Lab