#BA4D89#BA4D89

#BA4D89 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.155 H 348.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA4D89
RGBrgb(186, 77, 137)
HSLhsl(327, 44%, 52%)
HSVhsv(327, 59%, 73%)
CMYKcmyk(0%, 58.6%, 26.3%, 27.1%)
CIE-LABlab(48.95, 50.41, -11.46)
CIE-LCHlch(48.95, 51.70, 347.19°)
OKLaboklab(58.03% 0.1524 -0.03)
OKLCHoklch(58.03% 0.155 348.9)
XYZxyz(27.4200, 17.5556, 25.6065)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D89 #4DBA7E
analogous
#B54DBA #BA4D89 #BA4D53
triadic
#BA4D89 #89BA4D #4D89BA
tetradic
#BA4D89 #BAB54D #4DBA7E #4D53BA
square
#BA4D89 #BAB54D #4DBA7E #4D53BA
split-complementary
#BA4D89 #53BA4D #4DBAB5
monochromatic
#652749 #913869 #BA4D89 #CB79A6 #DCA5C3

Accessibility & contrast

On white

4.66
#BA4D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA4D89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D89
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D89#FFFFFF#000000##FFFFFF
##BA4D891.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A688B
Deuteranopia (green-blind)
#787B86
Tritanopia (blue-blind)
#C64965
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4d89;
/* rgb */ color: rgb(186, 77, 137);
/* oklch */ color: oklch(58.0% 0.155 348.9);
Tailwind
colors: {
  custom: {
    50: '#d284ab',
    500: '#ba4d89',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d89;
$custom-light: #d284ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d89",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 326.972,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.15528,
    "h": 348.9
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#BA4D89
secondary
#99C9AF
accent
#D48D54
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4D89

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA4D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva