#BA5397#BA5397

#BA5397 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.4% C 0.155 H 342.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA5397
RGBrgb(186, 83, 151)
HSLhsl(320, 43%, 53%)
HSVhsv(320, 55%, 73%)
CMYKcmyk(0%, 55.4%, 18.8%, 27.1%)
CIE-LABlab(50.53, 49.58, -17.42)
CIE-LCHlch(50.53, 52.56, 340.64°)
OKLaboklab(59.37% 0.1475 -0.0464)
OKLCHoklch(59.37% 0.155 342.5)
XYZxyz(28.9295, 18.8624, 31.3893)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5397 #53BA76
analogous
#A953BA #BA5397 #BA5363
triadic
#BA5397 #97BA53 #5397BA
tetradic
#BA5397 #BAA953 #53BA76 #5363BA
square
#BA5397 #BAA953 #53BA76 #5363BA
split-complementary
#BA5397 #63BA53 #53BAA9
monochromatic
#692A53 #943B76 #BA5397 #CC7FB1 #DDAACC

Accessibility & contrast

On white

4.40
#BA5397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BA5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5397
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5397#FFFFFF#000000##000000
##BA53971.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#777E94
Tritanopia (blue-blind)
#C4546E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5397;
/* rgb */ color: rgb(186, 83, 151);
/* oklch */ color: oklch(59.4% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#d188b5',
    500: '#ba5397',
    950: '#000000',
  },
}
SCSS
$custom: #ba5397;
$custom-light: #d188b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5397",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 320.388,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.15466,
    "h": 342.5
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#BA5397
secondary
#9ECBAD
accent
#D38055
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5397

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

Preview Lab → · Contrast checker → · Palette generator →

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