#BA389B#BA389B

#BA389B is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.5% C 0.196 H 339.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA389B
RGBrgb(186, 56, 155)
HSLhsl(314, 54%, 47%)
HSVhsv(314, 70%, 73%)
CMYKcmyk(0%, 69.9%, 16.7%, 27.1%)
CIE-LABlab(46.49, 61.65, -26.01)
CIE-LCHlch(46.49, 66.91, 337.13°)
OKLaboklab(56.46% 0.1828 -0.0703)
OKLCHoklch(56.46% 0.196 339)
XYZxyz(27.5809, 15.6366, 32.5696)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA389B #38BA57
analogous
#9838BA #BA389B #BA385A
triadic
#BA389B #9BBA38 #389BBA
tetradic
#BA389B #BA9838 #38BA57 #385ABA
square
#BA389B #BA9838 #38BA57 #385ABA
split-complementary
#BA389B #5ABA38 #38BA98
monochromatic
#5C1C4D #8B2A74 #BA389B #CF60B5 #DD8FCB

Accessibility & contrast

On white

5.09
#BA389B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA389B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA389B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA389B#FFFFFF#000000##FFFFFF
##BA389B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619E
Deuteranopia (green-blind)
#687698
Tritanopia (blue-blind)
#C43D65
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba389b;
/* rgb */ color: rgb(186, 56, 155);
/* oklch */ color: oklch(56.5% 0.196 339.0);
Tailwind
colors: {
  custom: {
    50: '#d27ab8',
    500: '#ba389b',
    950: '#000000',
  },
}
SCSS
$custom: #ba389b;
$custom-light: #d27ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba389b",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 314.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.19588,
    "h": 339
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA389B

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

Preview Lab → · Contrast checker → · Palette generator →

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