#BA379B#BA379B

#BA379B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.4% C 0.197 H 338.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA379B
RGBrgb(186, 55, 155)
HSLhsl(314, 54%, 47%)
HSVhsv(314, 70%, 73%)
CMYKcmyk(0%, 70.4%, 16.7%, 27.1%)
CIE-LABlab(46.37, 62.01, -26.21)
CIE-LCHlch(46.37, 67.32, 337.09°)
OKLaboklab(56.36% 0.1839 -0.0709)
OKLCHoklch(56.36% 0.197 338.9)
XYZxyz(27.5329, 15.5406, 32.5536)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA379B #37BA56
analogous
#9737BA #BA379B #BA375A
triadic
#BA379B #9BBA37 #379BBA
tetradic
#BA379B #BA9737 #37BA56 #375ABA
square
#BA379B #BA9737 #37BA56 #375ABA
split-complementary
#BA379B #5ABA37 #37BA97
monochromatic
#5C1B4C #8B2974 #BA379B #D05FB5 #DE8ECB

Accessibility & contrast

On white

5.11
#BA379B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA379B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA379B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA379B#FFFFFF#000000##FFFFFF
##BA379B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#C43C64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba379b;
/* rgb */ color: rgb(186, 55, 155);
/* oklch */ color: oklch(56.4% 0.197 338.9);
Tailwind
colors: {
  custom: {
    50: '#d279b8',
    500: '#ba379b',
    950: '#000000',
  },
}
SCSS
$custom: #ba379b;
$custom-light: #d279b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba379b",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 314.198,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.1971,
    "h": 338.9
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA379B

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

Preview Lab → · Contrast checker → · Palette generator →

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