#BA5887#BA5887

#BA5887 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.4% C 0.137 H 352.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA5887
RGBrgb(186, 88, 135)
HSLhsl(331, 42%, 54%)
HSVhsv(331, 53%, 73%)
CMYKcmyk(0%, 52.7%, 27.4%, 27.1%)
CIE-LABlab(50.89, 44.84, -7.37)
CIE-LCHlch(50.89, 45.44, 350.67°)
OKLaboklab(59.45% 0.1356 -0.019)
OKLCHoklch(59.45% 0.137 352)
XYZxyz(28.1136, 19.1703, 25.1366)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5887 #58BA8B
analogous
#BA58B8 #BA5887 #BA5A58
triadic
#BA5887 #87BA58 #5887BA
tetradic
#BA5887 #B8BA58 #58BA8B #5A58BA
square
#BA5887 #B8BA58 #58BA8B #5A58BA
split-complementary
#BA5887 #58BA5A #58B8BA
monochromatic
#6B2C4B #973E69 #BA5887 #CC83A6 #DEAFC5

Accessibility & contrast

On white

4.34
#BA5887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA5887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5887
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5887#FFFFFF#000000##000000
##BA58871.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#7E8085
Tritanopia (blue-blind)
#C6546A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba5887;
/* rgb */ color: rgb(186, 88, 135);
/* oklch */ color: oklch(59.4% 0.137 352.0);
Tailwind
colors: {
  custom: {
    50: '#d18baa',
    500: '#ba5887',
    950: '#000000',
  },
}
SCSS
$custom: #ba5887;
$custom-light: #d18baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5887",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 331.224,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.13688,
    "h": 352
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#BA5887
secondary
#A2CCB8
accent
#D19656
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5887

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

Preview Lab → · Contrast checker → · Palette generator →

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