#BA379A#BA379A

#BA379A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.196 H 339.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA379A
RGBrgb(186, 55, 154)
HSLhsl(315, 54%, 47%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 70.4%, 17.2%, 27.1%)
CIE-LABlab(46.32, 61.87, -25.68)
CIE-LCHlch(46.32, 66.99, 337.46°)
OKLaboklab(56.32% 0.1838 -0.0694)
OKLCHoklch(56.32% 0.196 339.3)
XYZxyz(27.4493, 15.5072, 32.1131)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA379A #37BA57
analogous
#9837BA #BA379A #BA3759
triadic
#BA379A #9ABA37 #379ABA
tetradic
#BA379A #BA9837 #37BA57 #3759BA
square
#BA379A #BA9837 #37BA57 #3759BA
split-complementary
#BA379A #59BA37 #37BA98
monochromatic
#5C1B4C #8B2973 #BA379A #D05FB4 #DE8ECA

Accessibility & contrast

On white

5.12
#BA379A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA379A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA379A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA379A#FFFFFF#000000##FFFFFF
##BA379A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619D
Deuteranopia (green-blind)
#687597
Tritanopia (blue-blind)
#C53C64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba379a;
/* rgb */ color: rgb(186, 55, 154);
/* oklch */ color: oklch(56.3% 0.196 339.3);
Tailwind
colors: {
  custom: {
    50: '#d279b8',
    500: '#ba379a',
    950: '#000000',
  },
}
SCSS
$custom: #ba379a;
$custom-light: #d279b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba379a",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 314.656,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.19642,
    "h": 339.3
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#BA379A
secondary
#85C895
accent
#DE6E4A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA379A

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

Preview Lab → · Contrast checker → · Palette generator →

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