#BA559B#BA559B

#BA559B is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.8% C 0.154 H 340.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA559B
RGBrgb(186, 85, 155)
HSLhsl(318, 42%, 53%)
HSVhsv(318, 54%, 73%)
CMYKcmyk(0%, 54.3%, 16.7%, 27.1%)
CIE-LABlab(51.04, 49.23, -19.00)
CIE-LCHlch(51.04, 52.77, 338.90°)
OKLaboklab(59.8% 0.1456 -0.0509)
OKLCHoklch(59.8% 0.154 340.7)
XYZxyz(29.4151, 19.3050, 33.1810)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA559B #55BA74
analogous
#A655BA #BA559B #BA5568
triadic
#BA559B #9BBA55 #559BBA
tetradic
#BA559B #BAA655 #55BA74 #5568BA
square
#BA559B #BAA655 #55BA74 #5568BA
split-complementary
#BA559B #68BA55 #55BAA6
monochromatic
#6A2B56 #953D7A #BA559B #CC81B5 #DDACCE

Accessibility & contrast

On white

4.32
#BA559B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA559B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA559B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA559B#FFFFFF#000000##000000
##BA559B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6F9D
Deuteranopia (green-blind)
#778098
Tritanopia (blue-blind)
#C45771
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba559b;
/* rgb */ color: rgb(186, 85, 155);
/* oklch */ color: oklch(59.8% 0.154 340.7);
Tailwind
colors: {
  custom: {
    50: '#d189b8',
    500: '#ba559b',
    950: '#000000',
  },
}
SCSS
$custom: #ba559b;
$custom-light: #d189b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba559b",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 318.416,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.15425,
    "h": 340.7
  },
  "luminance": 0.19303
}

Semantic roles & 50–950 ramp

primary
#BA559B
secondary
#A0CBAD
accent
#D27C56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA559B

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

Preview Lab → · Contrast checker → · Palette generator →

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