#BA378B#BA378B

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

Color values

HEX#BA378B
RGBrgb(186, 55, 139)
HSLhsl(322, 54%, 47%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 70.4%, 25.3%, 27.1%)
CIE-LABlab(45.69, 59.83, -17.63)
CIE-LCHlch(45.69, 62.38, 343.58°)
OKLaboklab(55.65% 0.181 -0.0468)
OKLCHoklch(55.65% 0.187 345.5)
XYZxyz(26.2772, 15.0383, 25.9399)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378B #37BA66
analogous
#A837BA #BA378B #BA3749
triadic
#BA378B #8BBA37 #378BBA
tetradic
#BA378B #BAA837 #37BA66 #3749BA
square
#BA378B #BAA837 #37BA66 #3749BA
split-complementary
#BA378B #49BA37 #37BAA8
monochromatic
#5C1B44 #8B2968 #BA378B #D05FA7 #DE8EC1

Accessibility & contrast

On white

5.24
#BA378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA378B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA378B#FFFFFF#000000##FFFFFF
##BA378B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#C6355C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba378b;
/* rgb */ color: rgb(186, 55, 139);
/* oklch */ color: oklch(55.6% 0.187 345.5);
Tailwind
colors: {
  custom: {
    50: '#d379ad',
    500: '#ba378b',
    950: '#000000',
  },
}
SCSS
$custom: #ba378b;
$custom-light: #d379ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378b",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 321.527,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.18697,
    "h": 345.5
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA378B

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

Preview Lab → · Contrast checker → · Palette generator →

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