#BA577B#BA577B

#BA577B is a mid, vivid pink. Relative luminance 0.187; OKLCH L 58.9% C 0.133 H 359.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA577B
RGBrgb(186, 87, 123)
HSLhsl(338, 42%, 54%)
HSVhsv(338, 53%, 73%)
CMYKcmyk(0%, 53.2%, 33.9%, 27.1%)
CIE-LABlab(50.32, 43.77, -1.04)
CIE-LCHlch(50.32, 43.78, 358.64°)
OKLaboklab(58.9% 0.1331 -0.0022)
OKLCHoklch(58.9% 0.133 359.1)
XYZxyz(27.2343, 18.6882, 20.9079)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA577B #57BA96
analogous
#BA57AC #BA577B #BA6457
triadic
#BA577B #7BBA57 #577BBA
tetradic
#BA577B #ACBA57 #57BA96 #6457BA
square
#BA577B #ACBA57 #57BA96 #6457BA
split-complementary
#BA577B #57BA64 #57ACBA
monochromatic
#6B2C43 #963E5E #BA577B #CC829D #DEAEBF

Accessibility & contrast

On white

4.43
#BA577B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA577B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA577B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA577B#FFFFFF#000000##000000
##BA577B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#807F79
Tritanopia (blue-blind)
#C75064
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba577b;
/* rgb */ color: rgb(186, 87, 123);
/* oklch */ color: oklch(58.9% 0.133 359.1);
Tailwind
colors: {
  custom: {
    50: '#d28aa1',
    500: '#ba577b',
    950: '#000000',
  },
}
SCSS
$custom: #ba577b;
$custom-light: #d28aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba577b",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 338.182,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.589,
    "c": 0.1331,
    "h": 359.1
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#BA577B
secondary
#A1CCBC
accent
#D2A556
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA577B

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

Preview Lab → · Contrast checker → · Palette generator →

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