#BA558B#BA558B

#BA558B is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.2% C 0.144 H 349.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA558B
RGBrgb(186, 85, 139)
HSLhsl(328, 42%, 53%)
HSVhsv(328, 54%, 73%)
CMYKcmyk(0%, 54.3%, 25.3%, 27.1%)
CIE-LABlab(50.46, 46.88, -10.40)
CIE-LCHlch(50.46, 48.02, 347.49°)
OKLaboklab(59.17% 0.1413 -0.0271)
OKLCHoklch(59.17% 0.144 349.1)
XYZxyz(28.1593, 18.8027, 26.5673)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA558B #55BA84
analogous
#B655BA #BA558B #BA5558
triadic
#BA558B #8BBA55 #558BBA
tetradic
#BA558B #BAB655 #55BA84 #5558BA
square
#BA558B #BAB655 #55BA84 #5558BA
split-complementary
#BA558B #58BA55 #55BAB6
monochromatic
#6A2B4C #953D6C #BA558B #CC81A9 #DDACC6

Accessibility & contrast

On white

4.41
#BA558B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA558B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA558B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA558B#FFFFFF#000000##000000
##BA558B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8D
Deuteranopia (green-blind)
#7B7F89
Tritanopia (blue-blind)
#C6526A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba558b;
/* rgb */ color: rgb(186, 85, 139);
/* oklch */ color: oklch(59.2% 0.144 349.1);
Tailwind
colors: {
  custom: {
    50: '#d189ac',
    500: '#ba558b',
    950: '#000000',
  },
}
SCSS
$custom: #ba558b;
$custom-light: #d189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba558b",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 327.921,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.14389,
    "h": 349.1
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#BA558B
secondary
#A0CBB4
accent
#D29056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA558B

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

Preview Lab → · Contrast checker → · Palette generator →

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