#BA377B#BA377B

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

Color values

HEX#BA377B
RGBrgb(186, 55, 123)
HSLhsl(329, 54%, 47%)
HSVhsv(329, 70%, 73%)
CMYKcmyk(0%, 70.4%, 33.9%, 27.1%)
CIE-LABlab(45.09, 57.87, -8.80)
CIE-LCHlch(45.09, 58.54, 351.36°)
OKLaboklab(55.01% 0.177 -0.0226)
OKLCHoklch(55.01% 0.178 352.7)
XYZxyz(25.1925, 14.6044, 20.2273)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377B #37BA76
analogous
#B837BA #BA377B #BA3739
triadic
#BA377B #7BBA37 #377BBA
tetradic
#BA377B #BAB837 #37BA76 #3739BA
square
#BA377B #BAB837 #37BA76 #3739BA
split-complementary
#BA377B #39BA37 #37BAB8
monochromatic
#5C1B3D #8B295C #BA377B #D05F99 #DE8EB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA377B#FFFFFF#000000##FFFFFF
##BA377B1.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)
#4D5C7D
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#C82D54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377b;
/* rgb */ color: rgb(186, 55, 123);
/* oklch */ color: oklch(55.0% 0.178 352.7);
Tailwind
colors: {
  custom: {
    50: '#d378a1',
    500: '#ba377b',
    950: '#000000',
  },
}
SCSS
$custom: #ba377b;
$custom-light: #d378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377b",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 328.855,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.17847,
    "h": 352.7
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#BA377B
secondary
#85C8A5
accent
#DE914A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA377B

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

Preview Lab → · Contrast checker → · Palette generator →

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