#BA5771#BA5771

#BA5771 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.6% C 0.130 H 5.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA5771
RGBrgb(186, 87, 113)
HSLhsl(344, 42%, 54%)
HSVhsv(344, 53%, 73%)
CMYKcmyk(0%, 53.2%, 39.2%, 27.1%)
CIE-LABlab(50.04, 42.57, 4.55)
CIE-LCHlch(50.04, 42.81, 6.10°)
OKLaboklab(58.6% 0.1295 0.0123)
OKLCHoklch(58.6% 0.13 5.4)
XYZxyz(26.6400, 18.4505, 17.7779)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5771 #57BAA0
analogous
#BA57A2 #BA5771 #BA6E57
triadic
#BA5771 #71BA57 #5771BA
tetradic
#BA5771 #A2BA57 #57BAA0 #6E57BA
square
#BA5771 #A2BA57 #57BAA0 #6E57BA
split-complementary
#BA5771 #57BA6E #57A2BA
monochromatic
#6B2C3C #963E55 #BA5771 #CC8296 #DEAEBA

Accessibility & contrast

On white

4.48
#BA5771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA5771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5771
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5771#FFFFFF#000000##000000
##BA57711.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#696B72
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#C84D61
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5771;
/* rgb */ color: rgb(186, 87, 113);
/* oklch */ color: oklch(58.6% 0.130 5.4);
Tailwind
colors: {
  custom: {
    50: '#d28a99',
    500: '#ba5771',
    950: '#000000',
  },
}
SCSS
$custom: #ba5771;
$custom-light: #d28a99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5771",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 113
  },
  "hsl": {
    "h": 344.242,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.13003,
    "h": 5.4
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#BA5771
secondary
#A1CCC0
accent
#D2B156
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150C0E
muted
#837D7E

Preview Lab

Preview with #BA5771

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

Preview Lab → · Contrast checker → · Palette generator →

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