#BA377A#BA377A

#BA377A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.178 H 353.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA377A
RGBrgb(186, 55, 122)
HSLhsl(329, 54%, 47%)
HSVhsv(329, 70%, 73%)
CMYKcmyk(0%, 70.4%, 34.4%, 27.1%)
CIE-LABlab(45.05, 57.76, -8.23)
CIE-LCHlch(45.05, 58.34, 351.89°)
OKLaboklab(54.98% 0.1767 -0.0211)
OKLCHoklch(54.98% 0.178 353.2)
XYZxyz(25.1302, 14.5795, 19.8993)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377A #37BA77
analogous
#B937BA #BA377A #BA3738
triadic
#BA377A #7ABA37 #377ABA
tetradic
#BA377A #BAB937 #37BA77 #3738BA
square
#BA377A #BAB937 #37BA77 #3738BA
split-complementary
#BA377A #38BA37 #37BAB9
monochromatic
#5C1B3C #8B295B #BA377A #D05F98 #DE8EB7

Accessibility & contrast

On white

5.36
#BA377A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA377A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA377A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA377A#FFFFFF#000000##FFFFFF
##BA377A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#727377
Tritanopia (blue-blind)
#C82D54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377a;
/* rgb */ color: rgb(186, 55, 122);
/* oklch */ color: oklch(55.0% 0.178 353.2);
Tailwind
colors: {
  custom: {
    50: '#d378a0',
    500: '#ba377a',
    950: '#000000',
  },
}
SCSS
$custom: #ba377a;
$custom-light: #d378a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377a",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 329.313,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.17799,
    "h": 353.2
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#BA377A
secondary
#85C8A6
accent
#DE924A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA377A

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

Preview Lab → · Contrast checker → · Palette generator →

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