#BA388B#BA388B

#BA388B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.186 H 345.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA388B
RGBrgb(186, 56, 139)
HSLhsl(322, 54%, 47%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 69.9%, 25.3%, 27.1%)
CIE-LABlab(45.82, 59.47, -17.43)
CIE-LCHlch(45.82, 61.97, 343.67°)
OKLaboklab(55.74% 0.1799 -0.0462)
OKLCHoklch(55.74% 0.186 345.6)
XYZxyz(26.3251, 15.1343, 25.9559)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA388B #38BA67
analogous
#A838BA #BA388B #BA384A
triadic
#BA388B #8BBA38 #388BBA
tetradic
#BA388B #BAA838 #38BA67 #384ABA
square
#BA388B #BAA838 #38BA67 #384ABA
split-complementary
#BA388B #4ABA38 #38BAA8
monochromatic
#5C1C45 #8B2A68 #BA388B #CF60A7 #DD8FC1

Accessibility & contrast

On white

5.22
#BA388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA388B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA388B#FFFFFF#000000##FFFFFF
##BA388B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#C6365C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba388b;
/* rgb */ color: rgb(186, 56, 139);
/* oklch */ color: oklch(55.7% 0.186 345.6);
Tailwind
colors: {
  custom: {
    50: '#d379ad',
    500: '#ba388b',
    950: '#000000',
  },
}
SCSS
$custom: #ba388b;
$custom-light: #d379ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba388b",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 321.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.18574,
    "h": 345.6
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#BA388B
secondary
#86C89E
accent
#DD804B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA388B

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

Preview Lab → · Contrast checker → · Palette generator →

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