#BA5789#BA5789

#BA5789 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.4% C 0.140 H 350.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA5789
RGBrgb(186, 87, 137)
HSLhsl(330, 42%, 54%)
HSVhsv(330, 53%, 73%)
CMYKcmyk(0%, 53.2%, 26.3%, 27.1%)
CIE-LABlab(50.76, 45.61, -8.75)
CIE-LCHlch(50.76, 46.44, 349.15°)
OKLaboklab(59.38% 0.1377 -0.0227)
OKLCHoklch(59.38% 0.14 350.6)
XYZxyz(28.1742, 19.0641, 25.8580)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5789 #57BA88
analogous
#B957BA #BA5789 #BA5757
triadic
#BA5789 #89BA57 #5789BA
tetradic
#BA5789 #BAB957 #57BA88 #5757BA
square
#BA5789 #BAB957 #57BA88 #5757BA
split-complementary
#BA5789 #57BA57 #57BAB9
monochromatic
#6B2C4C #963E6A #BA5789 #CC82A7 #DEAEC6

Accessibility & contrast

On white

4.36
#BA5789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BA5789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5789
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5789#FFFFFF#000000##000000
##BA57891.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E8B
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#C6536A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba5789;
/* rgb */ color: rgb(186, 87, 137);
/* oklch */ color: oklch(59.4% 0.140 350.6);
Tailwind
colors: {
  custom: {
    50: '#d18aab',
    500: '#ba5789',
    950: '#000000',
  },
}
SCSS
$custom: #ba5789;
$custom-light: #d18aab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5789",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 329.697,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.13956,
    "h": 350.6
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#BA5789
secondary
#A1CCB6
accent
#D29356
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5789

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

Preview Lab → · Contrast checker → · Palette generator →

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