#BA577F#BA577F

#BA577F is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.0% C 0.135 H 356.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA577F
RGBrgb(186, 87, 127)
HSLhsl(336, 42%, 54%)
HSVhsv(336, 53%, 73%)
CMYKcmyk(0%, 53.2%, 31.7%, 27.1%)
CIE-LABlab(50.44, 44.28, -3.26)
CIE-LCHlch(50.44, 44.40, 355.80°)
OKLaboklab(59.03% 0.1345 -0.008)
OKLCHoklch(59.03% 0.135 356.6)
XYZxyz(27.4899, 18.7904, 22.2537)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA577F #57BA92
analogous
#BA57B0 #BA577F #BA6057
triadic
#BA577F #7FBA57 #577FBA
tetradic
#BA577F #B0BA57 #57BA92 #6057BA
square
#BA577F #B0BA57 #57BA92 #6057BA
split-complementary
#BA577F #57BA60 #57B0BA
monochromatic
#6B2C45 #963E61 #BA577F #CC82A0 #DEAEC1

Accessibility & contrast

On white

4.41
#BA577F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA577F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA577F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA577F#FFFFFF#000000##000000
##BA577F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#7F7F7D
Tritanopia (blue-blind)
#C75166
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba577f;
/* rgb */ color: rgb(186, 87, 127);
/* oklch */ color: oklch(59.0% 0.135 356.6);
Tailwind
colors: {
  custom: {
    50: '#d28aa4',
    500: '#ba577f',
    950: '#000000',
  },
}
SCSS
$custom: #ba577f;
$custom-light: #d28aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba577f",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 335.758,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.1347,
    "h": 356.6
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#BA577F
secondary
#A1CCBA
accent
#D2A056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA577F

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

Preview Lab → · Contrast checker → · Palette generator →

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