#BA388C#BA388C

#BA388C is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.186 H 345.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA388C
RGBrgb(186, 56, 140)
HSLhsl(321, 54%, 47%)
HSVhsv(321, 70%, 73%)
CMYKcmyk(0%, 69.9%, 24.7%, 27.1%)
CIE-LABlab(45.86, 59.60, -17.97)
CIE-LCHlch(45.86, 62.25, 343.22°)
OKLaboklab(55.79% 0.1801 -0.0477)
OKLCHoklch(55.79% 0.186 345.2)
XYZxyz(26.3985, 15.1636, 26.3425)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA388C #38BA66
analogous
#A738BA #BA388C #BA384B
triadic
#BA388C #8CBA38 #388CBA
tetradic
#BA388C #BAA738 #38BA66 #384BBA
square
#BA388C #BAA738 #38BA66 #384BBA
split-complementary
#BA388C #4BBA38 #38BAA7
monochromatic
#5C1C45 #8B2A69 #BA388C #CF60A8 #DD8FC2

Accessibility & contrast

On white

5.21
#BA388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA388C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA388C#FFFFFF#000000##FFFFFF
##BA388C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8E
Deuteranopia (green-blind)
#6E7589
Tritanopia (blue-blind)
#C6365D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba388c;
/* rgb */ color: rgb(186, 56, 140);
/* oklch */ color: oklch(55.8% 0.186 345.2);
Tailwind
colors: {
  custom: {
    50: '#d379ad',
    500: '#ba388c',
    950: '#000000',
  },
}
SCSS
$custom: #ba388c;
$custom-light: #d379ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba388c",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 321.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.18633,
    "h": 345.2
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#BA388C
secondary
#86C89D
accent
#DD7F4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA388C

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

Preview Lab → · Contrast checker → · Palette generator →

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