#BA5891#BA5891

#BA5891 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 59.8% C 0.143 H 346.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5891
RGBrgb(186, 88, 145)
HSLhsl(325, 42%, 54%)
HSVhsv(325, 53%, 73%)
CMYKcmyk(0%, 52.7%, 22%, 27.1%)
CIE-LABlab(51.23, 46.26, -12.80)
CIE-LCHlch(51.23, 48.00, 344.53°)
OKLaboklab(59.81% 0.1386 -0.0337)
OKLCHoklch(59.81% 0.143 346.3)
XYZxyz(28.8510, 19.4653, 29.0202)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5891 #58BA81
analogous
#B258BA #BA5891 #BA5860
triadic
#BA5891 #91BA58 #5891BA
tetradic
#BA5891 #BAB258 #58BA81 #5860BA
square
#BA5891 #BAB258 #58BA81 #5860BA
split-complementary
#BA5891 #60BA58 #58BAB2
monochromatic
#6B2C51 #973E72 #BA5891 #CC83AE #DEAFCA

Accessibility & contrast

On white

4.29
#BA5891 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA5891 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5891
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5891#FFFFFF#000000##000000
##BA58911.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617093
Deuteranopia (green-blind)
#7B808F
Tritanopia (blue-blind)
#C5566E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba5891;
/* rgb */ color: rgb(186, 88, 145);
/* oklch */ color: oklch(59.8% 0.143 346.3);
Tailwind
colors: {
  custom: {
    50: '#d18bb1',
    500: '#ba5891',
    950: '#000000',
  },
}
SCSS
$custom: #ba5891;
$custom-light: #d18bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5891",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 325.102,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.14263,
    "h": 346.3
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#BA5891
secondary
#A2CCB3
accent
#D18A56
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5891

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

Preview Lab → · Contrast checker → · Palette generator →

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