#BA387B#BA387B

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

Color values

HEX#BA387B
RGBrgb(186, 56, 123)
HSLhsl(329, 54%, 47%)
HSVhsv(329, 70%, 73%)
CMYKcmyk(0%, 69.9%, 33.9%, 27.1%)
CIE-LABlab(45.22, 57.50, -8.60)
CIE-LCHlch(45.22, 58.14, 351.50°)
OKLaboklab(55.11% 0.1759 -0.0221)
OKLCHoklch(55.11% 0.177 352.9)
XYZxyz(25.2405, 14.7004, 20.2433)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387B #38BA77
analogous
#B838BA #BA387B #BA383A
triadic
#BA387B #7BBA38 #387BBA
tetradic
#BA387B #BAB838 #38BA77 #383ABA
square
#BA387B #BAB838 #38BA77 #383ABA
split-complementary
#BA387B #3ABA38 #38BAB8
monochromatic
#5C1C3D #8B2A5C #BA387B #CF6099 #DD8FB7

Accessibility & contrast

On white

5.33
#BA387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA387B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA387B#FFFFFF#000000##FFFFFF
##BA387B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#727478
Tritanopia (blue-blind)
#C82E55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387b;
/* rgb */ color: rgb(186, 56, 123);
/* oklch */ color: oklch(55.1% 0.177 352.9);
Tailwind
colors: {
  custom: {
    50: '#d379a1',
    500: '#ba387b',
    950: '#000000',
  },
}
SCSS
$custom: #ba387b;
$custom-light: #d379a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387b",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 329.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.17724,
    "h": 352.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA387B

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

Preview Lab → · Contrast checker → · Palette generator →

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