#BA378A#BA378A

#BA378A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.186 H 345.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA378A
RGBrgb(186, 55, 138)
HSLhsl(322, 54%, 47%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 70.4%, 25.8%, 27.1%)
CIE-LABlab(45.65, 59.70, -17.08)
CIE-LCHlch(45.65, 62.10, 344.03°)
OKLaboklab(55.61% 0.1808 -0.0453)
OKLCHoklch(55.61% 0.186 345.9)
XYZxyz(26.2044, 15.0092, 25.5569)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378A #37BA67
analogous
#A937BA #BA378A #BA3748
triadic
#BA378A #8ABA37 #378ABA
tetradic
#BA378A #BAA937 #37BA67 #3748BA
square
#BA378A #BAA937 #37BA67 #3748BA
split-complementary
#BA378A #48BA37 #37BAA9
monochromatic
#5C1B44 #8B2967 #BA378A #D05FA6 #DE8EC0

Accessibility & contrast

On white

5.25
#BA378A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA378A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA378A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA378A#FFFFFF#000000##FFFFFF
##BA378A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba378a;
/* rgb */ color: rgb(186, 55, 138);
/* oklch */ color: oklch(55.6% 0.186 345.9);
Tailwind
colors: {
  custom: {
    50: '#d379ac',
    500: '#ba378a',
    950: '#000000',
  },
}
SCSS
$custom: #ba378a;
$custom-light: #d379ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378a",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 321.985,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.18638,
    "h": 345.9
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#BA378A
secondary
#85C89D
accent
#DE804A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA378A

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

Preview Lab → · Contrast checker → · Palette generator →

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