#BA388A#BA388A

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

Color values

HEX#BA388A
RGBrgb(186, 56, 138)
HSLhsl(322, 54%, 47%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 69.9%, 25.8%, 27.1%)
CIE-LABlab(45.78, 59.34, -16.88)
CIE-LCHlch(45.78, 61.69, 344.12°)
OKLaboklab(55.7% 0.1797 -0.0447)
OKLCHoklch(55.7% 0.185 346)
XYZxyz(26.2524, 15.1052, 25.5729)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA388A #38BA68
analogous
#A938BA #BA388A #BA3849
triadic
#BA388A #8ABA38 #388ABA
tetradic
#BA388A #BAA938 #38BA68 #3849BA
square
#BA388A #BAA938 #38BA68 #3849BA
split-complementary
#BA388A #49BA38 #38BAA9
monochromatic
#5C1C44 #8B2A67 #BA388A #CF60A6 #DD8FC0

Accessibility & contrast

On white

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

On black

4.02
#BA388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA388A#FFFFFF#000000##FFFFFF
##BA388A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#6E7487
Tritanopia (blue-blind)
#C7355C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba388a;
/* rgb */ color: rgb(186, 56, 138);
/* oklch */ color: oklch(55.7% 0.185 346.0);
Tailwind
colors: {
  custom: {
    50: '#d379ac',
    500: '#ba388a',
    950: '#000000',
  },
}
SCSS
$custom: #ba388a;
$custom-light: #d379ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba388a",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 322.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.18515,
    "h": 346
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA388A

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

Preview Lab → · Contrast checker → · Palette generator →

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