#BA577C#BA577C

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

Color values

HEX#BA577C
RGBrgb(186, 87, 124)
HSLhsl(338, 42%, 54%)
HSVhsv(338, 53%, 73%)
CMYKcmyk(0%, 53.2%, 33.3%, 27.1%)
CIE-LABlab(50.35, 43.89, -1.59)
CIE-LCHlch(50.35, 43.92, 357.92°)
OKLaboklab(58.93% 0.1334 -0.0036)
OKLCHoklch(58.93% 0.133 358.5)
XYZxyz(27.2973, 18.7133, 21.2393)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA577C #57BA95
analogous
#BA57AD #BA577C #BA6357
triadic
#BA577C #7CBA57 #577CBA
tetradic
#BA577C #ADBA57 #57BA95 #6357BA
square
#BA577C #ADBA57 #57BA95 #6357BA
split-complementary
#BA577C #57BA63 #57ADBA
monochromatic
#6B2C43 #963E5F #BA577C #CC829E #DEAEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA577C#FFFFFF#000000##000000
##BA577C1.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)
#666C7D
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#C75065
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba577c;
/* rgb */ color: rgb(186, 87, 124);
/* oklch */ color: oklch(58.9% 0.133 358.5);
Tailwind
colors: {
  custom: {
    50: '#d28aa1',
    500: '#ba577c',
    950: '#000000',
  },
}
SCSS
$custom: #ba577c;
$custom-light: #d28aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba577c",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 124
  },
  "hsl": {
    "h": 337.576,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.13348,
    "h": 358.5
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#BA577C
secondary
#A1CCBC
accent
#D2A356
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0F
muted
#837D7E

Preview Lab

Preview with #BA577C

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

Preview Lab → · Contrast checker → · Palette generator →

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