#BA5387#BA5387

#BA5387 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.145 H 351.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA5387
RGBrgb(186, 83, 135)
HSLhsl(330, 43%, 53%)
HSVhsv(330, 55%, 73%)
CMYKcmyk(0%, 55.4%, 27.4%, 27.1%)
CIE-LABlab(49.95, 47.30, -8.77)
CIE-LCHlch(49.95, 48.10, 349.50°)
OKLaboklab(58.75% 0.1431 -0.0227)
OKLCHoklch(58.75% 0.145 351)
XYZxyz(27.7172, 18.3774, 25.0044)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5387 #53BA86
analogous
#BA53BA #BA5387 #BA5353
triadic
#BA5387 #87BA53 #5387BA
tetradic
#BA5387 #BABA53 #53BA86 #5353BA
square
#BA5387 #BABA53 #53BA86 #5353BA
split-complementary
#BA5387 #53BA53 #53BABA
monochromatic
#692A4A #943B68 #BA5387 #CC7FA5 #DDAAC4

Accessibility & contrast

On white

4.49
#BA5387 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA5387 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5387
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5387#FFFFFF#000000##000000
##BA53871.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606B89
Deuteranopia (green-blind)
#7B7E85
Tritanopia (blue-blind)
#C64F67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5387;
/* rgb */ color: rgb(186, 83, 135);
/* oklch */ color: oklch(58.7% 0.145 351.0);
Tailwind
colors: {
  custom: {
    50: '#d288aa',
    500: '#ba5387',
    950: '#000000',
  },
}
SCSS
$custom: #ba5387;
$custom-light: #d288aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5387",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 329.709,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.14486,
    "h": 351
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#BA5387
secondary
#9ECBB4
accent
#D39355
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5387

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

Preview Lab → · Contrast checker → · Palette generator →

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