#BA377C#BA377C

#BA377C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.179 H 352.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA377C
RGBrgb(186, 55, 124)
HSLhsl(328, 54%, 47%)
HSVhsv(328, 70%, 73%)
CMYKcmyk(0%, 70.4%, 33.3%, 27.1%)
CIE-LABlab(45.12, 57.99, -9.35)
CIE-LCHlch(45.12, 58.74, 350.84°)
OKLaboklab(55.05% 0.1773 -0.0241)
OKLCHoklch(55.05% 0.179 352.3)
XYZxyz(25.2554, 14.6296, 20.5587)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377C #37BA75
analogous
#B737BA #BA377C #BA373A
triadic
#BA377C #7CBA37 #377CBA
tetradic
#BA377C #BAB737 #37BA75 #373ABA
square
#BA377C #BAB737 #37BA75 #373ABA
split-complementary
#BA377C #3ABA37 #37BAB7
monochromatic
#5C1B3D #8B295D #BA377C #D05F9A #DE8EB8

Accessibility & contrast

On white

5.35
#BA377C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA377C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA377C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA377C#FFFFFF#000000##FFFFFF
##BA377C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#727379
Tritanopia (blue-blind)
#C82E55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377c;
/* rgb */ color: rgb(186, 55, 124);
/* oklch */ color: oklch(55.1% 0.179 352.3);
Tailwind
colors: {
  custom: {
    50: '#d378a1',
    500: '#ba377c',
    950: '#000000',
  },
}
SCSS
$custom: #ba377c;
$custom-light: #d378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377c",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 328.397,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.17894,
    "h": 352.3
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#BA377C
secondary
#85C8A5
accent
#DE904A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA377C

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

Preview Lab → · Contrast checker → · Palette generator →

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