#BA377E#BA377E

#BA377E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.180 H 351.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA377E
RGBrgb(186, 55, 126)
HSLhsl(327, 54%, 47%)
HSVhsv(327, 70%, 73%)
CMYKcmyk(0%, 70.4%, 32.3%, 27.1%)
CIE-LABlab(45.19, 58.22, -10.47)
CIE-LCHlch(45.19, 59.16, 349.81°)
OKLaboklab(55.13% 0.1779 -0.0271)
OKLCHoklch(55.13% 0.18 351.3)
XYZxyz(25.3832, 14.6807, 21.2315)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377E #37BA73
analogous
#B537BA #BA377E #BA373C
triadic
#BA377E #7EBA37 #377EBA
tetradic
#BA377E #BAB537 #37BA73 #373CBA
square
#BA377E #BAB537 #37BA73 #373CBA
split-complementary
#BA377E #3CBA37 #37BAB5
monochromatic
#5C1B3E #8B295E #BA377E #D05F9C #DE8EB9

Accessibility & contrast

On white

5.34
#BA377E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA377E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA377E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA377E#FFFFFF#000000##FFFFFF
##BA377E1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#71747B
Tritanopia (blue-blind)
#C82E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377e;
/* rgb */ color: rgb(186, 55, 126);
/* oklch */ color: oklch(55.1% 0.180 351.3);
Tailwind
colors: {
  custom: {
    50: '#d378a3',
    500: '#ba377e',
    950: '#000000',
  },
}
SCSS
$custom: #ba377e;
$custom-light: #d378a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377e",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 327.481,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.17992,
    "h": 351.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#BA377E
secondary
#85C8A4
accent
#DE8E4A
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA377E

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

Preview Lab → · Contrast checker → · Palette generator →

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