#BA577D#BA577D

#BA577D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.134 H 357.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA577D
RGBrgb(186, 87, 125)
HSLhsl(337, 42%, 54%)
HSVhsv(337, 53%, 73%)
CMYKcmyk(0%, 53.2%, 32.8%, 27.1%)
CIE-LABlab(50.38, 44.02, -2.15)
CIE-LCHlch(50.38, 44.07, 357.21°)
OKLaboklab(58.96% 0.1338 -0.0051)
OKLCHoklch(58.96% 0.134 357.8)
XYZxyz(27.3608, 18.7388, 21.5740)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA577D #57BA94
analogous
#BA57AE #BA577D #BA6257
triadic
#BA577D #7DBA57 #577DBA
tetradic
#BA577D #AEBA57 #57BA94 #6257BA
square
#BA577D #AEBA57 #57BA94 #6257BA
split-complementary
#BA577D #57BA62 #57AEBA
monochromatic
#6B2C44 #963E60 #BA577D #CC829F #DEAEC0

Accessibility & contrast

On white

4.42
#BA577D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA577D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA577D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA577D#FFFFFF#000000##000000
##BA577D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#C75065
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba577d;
/* rgb */ color: rgb(186, 87, 125);
/* oklch */ color: oklch(59.0% 0.134 357.8);
Tailwind
colors: {
  custom: {
    50: '#d28aa2',
    500: '#ba577d',
    950: '#000000',
  },
}
SCSS
$custom: #ba577d;
$custom-light: #d28aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba577d",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 336.97,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.13387,
    "h": 357.8
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#BA577D
secondary
#A1CCBB
accent
#D2A256
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0F
muted
#837D7E

Preview Lab

Preview with #BA577D

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

Preview Lab → · Contrast checker → · Palette generator →

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