#BA387C#BA387C

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

Color values

HEX#BA387C
RGBrgb(186, 56, 124)
HSLhsl(329, 54%, 47%)
HSVhsv(329, 70%, 73%)
CMYKcmyk(0%, 69.9%, 33.3%, 27.1%)
CIE-LABlab(45.26, 57.62, -9.15)
CIE-LCHlch(45.26, 58.34, 350.97°)
OKLaboklab(55.15% 0.1761 -0.0236)
OKLCHoklch(55.15% 0.178 352.4)
XYZxyz(25.3034, 14.7256, 20.5747)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387C #38BA76
analogous
#B738BA #BA387C #BA383B
triadic
#BA387C #7CBA38 #387CBA
tetradic
#BA387C #BAB738 #38BA76 #383BBA
square
#BA387C #BAB738 #38BA76 #383BBA
split-complementary
#BA387C #3BBA38 #38BAB7
monochromatic
#5C1C3D #8B2A5D #BA387C #CF609A #DD8FB8

Accessibility & contrast

On white

5.32
#BA387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA387C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA387C#FFFFFF#000000##FFFFFF
##BA387C1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#C82F55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387c;
/* rgb */ color: rgb(186, 56, 124);
/* oklch */ color: oklch(55.1% 0.178 352.4);
Tailwind
colors: {
  custom: {
    50: '#d379a1',
    500: '#ba387c',
    950: '#000000',
  },
}
SCSS
$custom: #ba387c;
$custom-light: #d379a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387c",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 328.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.17771,
    "h": 352.4
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#BA387C
secondary
#86C8A5
accent
#DD914B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA387C

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

Preview Lab → · Contrast checker → · Palette generator →

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