#BA377D#BA377D

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

Color values

HEX#BA377D
RGBrgb(186, 55, 125)
HSLhsl(328, 54%, 47%)
HSVhsv(328, 70%, 73%)
CMYKcmyk(0%, 70.4%, 32.8%, 27.1%)
CIE-LABlab(45.16, 58.10, -9.91)
CIE-LCHlch(45.16, 58.94, 350.32°)
OKLaboklab(55.09% 0.1776 -0.0256)
OKLCHoklch(55.09% 0.179 351.8)
XYZxyz(25.3190, 14.6550, 20.8934)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377D #37BA74
analogous
#B637BA #BA377D #BA373B
triadic
#BA377D #7DBA37 #377DBA
tetradic
#BA377D #BAB637 #37BA74 #373BBA
square
#BA377D #BAB637 #37BA74 #373BBA
split-complementary
#BA377D #3BBA37 #37BAB6
monochromatic
#5C1B3E #8B295D #BA377D #D05F9B #DE8EB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA377D#FFFFFF#000000##FFFFFF
##BA377D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#71737A
Tritanopia (blue-blind)
#C82E55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377d;
/* rgb */ color: rgb(186, 55, 125);
/* oklch */ color: oklch(55.1% 0.179 351.8);
Tailwind
colors: {
  custom: {
    50: '#d378a2',
    500: '#ba377d',
    950: '#000000',
  },
}
SCSS
$custom: #ba377d;
$custom-light: #d378a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377d",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 327.939,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.17942,
    "h": 351.8
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA377D

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

Preview Lab → · Contrast checker → · Palette generator →

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