#BA387A#BA387A

#BA387A is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.177 H 353.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA387A
RGBrgb(186, 56, 122)
HSLhsl(330, 54%, 47%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 69.9%, 34.4%, 27.1%)
CIE-LABlab(45.19, 57.38, -8.03)
CIE-LCHlch(45.19, 57.94, 352.03°)
OKLaboklab(55.08% 0.1756 -0.0205)
OKLCHoklch(55.08% 0.177 353.3)
XYZxyz(25.1782, 14.6755, 19.9153)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387A #38BA78
analogous
#B938BA #BA387A #BA3839
triadic
#BA387A #7ABA38 #387ABA
tetradic
#BA387A #BAB938 #38BA78 #3839BA
square
#BA387A #BAB938 #38BA78 #3839BA
split-complementary
#BA387A #39BA38 #38BAB9
monochromatic
#5C1C3C #8B2A5B #BA387A #CF6098 #DD8FB7

Accessibility & contrast

On white

5.34
#BA387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA387A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA387A#FFFFFF#000000##FFFFFF
##BA387A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#C82E54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387a;
/* rgb */ color: rgb(186, 56, 122);
/* oklch */ color: oklch(55.1% 0.177 353.3);
Tailwind
colors: {
  custom: {
    50: '#d379a0',
    500: '#ba387a',
    950: '#000000',
  },
}
SCSS
$custom: #ba387a;
$custom-light: #d379a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387a",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 329.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.17677,
    "h": 353.3
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#BA387A
secondary
#86C8A6
accent
#DD934B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA387A

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

Preview Lab → · Contrast checker → · Palette generator →

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