#BA5989#BA5989

#BA5989 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.7% C 0.136 H 351.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA5989
RGBrgb(186, 89, 137)
HSLhsl(330, 41%, 54%)
HSVhsv(330, 52%, 73%)
CMYKcmyk(0%, 52.2%, 26.3%, 27.1%)
CIE-LABlab(51.14, 44.62, -8.18)
CIE-LCHlch(51.14, 45.36, 349.62°)
OKLaboklab(59.66% 0.1347 -0.0212)
OKLCHoklch(59.66% 0.136 351.1)
XYZxyz(28.3384, 19.3925, 25.9127)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5989 #59BA8A
analogous
#BA59BA #BA5989 #BA5A59
triadic
#BA5989 #89BA59 #5989BA
tetradic
#BA5989 #BABA59 #59BA8A #5A59BA
square
#BA5989 #BABA59 #59BA8A #5A59BA
split-complementary
#BA5989 #59BA5A #59BABA
monochromatic
#6C2D4C #973F6A #BA5989 #CC84A8 #DEAFC6

Accessibility & contrast

On white

4.31
#BA5989 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA5989 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5989
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5989#FFFFFF#000000##000000
##BA59891.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#C6556B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba5989;
/* rgb */ color: rgb(186, 89, 137);
/* oklch */ color: oklch(59.7% 0.136 351.1);
Tailwind
colors: {
  custom: {
    50: '#d18bab',
    500: '#ba5989',
    950: '#000000',
  },
}
SCSS
$custom: #ba5989;
$custom-light: #d18bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5989",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 330.309,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.13632,
    "h": 351.1
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#BA5989
secondary
#A3CCB8
accent
#D19557
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5989

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

Preview Lab → · Contrast checker → · Palette generator →

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