#BA577E#BA577E

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

Color values

HEX#BA577E
RGBrgb(186, 87, 126)
HSLhsl(336, 42%, 54%)
HSVhsv(336, 53%, 73%)
CMYKcmyk(0%, 53.2%, 32.3%, 27.1%)
CIE-LABlab(50.41, 44.15, -2.70)
CIE-LCHlch(50.41, 44.23, 356.50°)
OKLaboklab(59% 0.1341 -0.0065)
OKLCHoklch(59% 0.134 357.2)
XYZxyz(27.4250, 18.7645, 21.9122)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA577E #57BA93
analogous
#BA57AF #BA577E #BA6157
triadic
#BA577E #7EBA57 #577EBA
tetradic
#BA577E #AFBA57 #57BA93 #6157BA
square
#BA577E #AFBA57 #57BA93 #6157BA
split-complementary
#BA577E #57BA61 #57AFBA
monochromatic
#6B2C45 #963E61 #BA577E #CC829F #DEAEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA577E#FFFFFF#000000##000000
##BA577E1.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)
#666D7F
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#C75066
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba577e;
/* rgb */ color: rgb(186, 87, 126);
/* oklch */ color: oklch(59.0% 0.134 357.2);
Tailwind
colors: {
  custom: {
    50: '#d28aa3',
    500: '#ba577e',
    950: '#000000',
  },
}
SCSS
$custom: #ba577e;
$custom-light: #d28aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba577e",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 336.364,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.13428,
    "h": 357.2
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#BA577E
secondary
#A1CCBB
accent
#D2A156
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA577E

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

Preview Lab → · Contrast checker → · Palette generator →

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