#BA389A#BA389A

#BA389A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.195 H 339.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA389A
RGBrgb(186, 56, 154)
HSLhsl(315, 54%, 47%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 69.9%, 17.2%, 27.1%)
CIE-LABlab(46.45, 61.51, -25.48)
CIE-LCHlch(46.45, 66.58, 337.50°)
OKLaboklab(56.41% 0.1827 -0.0688)
OKLCHoklch(56.41% 0.195 339.4)
XYZxyz(27.4973, 15.6031, 32.1291)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA389A #38BA58
analogous
#9938BA #BA389A #BA3859
triadic
#BA389A #9ABA38 #389ABA
tetradic
#BA389A #BA9938 #38BA58 #3859BA
square
#BA389A #BA9938 #38BA58 #3859BA
split-complementary
#BA389A #59BA38 #38BA99
monochromatic
#5C1C4C #8B2A73 #BA389A #CF60B4 #DD8FCA

Accessibility & contrast

On white

5.10
#BA389A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA389A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA389A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA389A#FFFFFF#000000##FFFFFF
##BA389A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#697597
Tritanopia (blue-blind)
#C53D64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba389a;
/* rgb */ color: rgb(186, 56, 154);
/* oklch */ color: oklch(56.4% 0.195 339.4);
Tailwind
colors: {
  custom: {
    50: '#d279b8',
    500: '#ba389a',
    950: '#000000',
  },
}
SCSS
$custom: #ba389a;
$custom-light: #d279b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba389a",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 314.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.19521,
    "h": 339.4
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#BA389A
secondary
#86C896
accent
#DD6F4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA389A

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

Preview Lab → · Contrast checker → · Palette generator →

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