#BA5877#BA5877

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

Color values

HEX#BA5877
RGBrgb(186, 88, 119)
HSLhsl(341, 42%, 54%)
HSVhsv(341, 53%, 73%)
CMYKcmyk(0%, 52.7%, 36%, 27.1%)
CIE-LABlab(50.40, 42.78, 1.47)
CIE-LCHlch(50.40, 42.80, 1.97°)
OKLaboklab(58.92% 0.1301 0.0044)
OKLCHoklch(58.92% 0.13 1.9)
XYZxyz(27.0706, 18.7531, 19.6432)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5877 #58BA9B
analogous
#BA58A8 #BA5877 #BA6A58
triadic
#BA5877 #77BA58 #5877BA
tetradic
#BA5877 #A8BA58 #58BA9B #6A58BA
square
#BA5877 #A8BA58 #58BA9B #6A58BA
split-complementary
#BA5877 #58BA6A #58A8BA
monochromatic
#6B2C40 #973E5A #BA5877 #CC839A #DEAFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5877#FFFFFF#000000##000000
##BA58771.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)
#686C78
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#C85063
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5877;
/* rgb */ color: rgb(186, 88, 119);
/* oklch */ color: oklch(58.9% 0.130 1.9);
Tailwind
colors: {
  custom: {
    50: '#d28a9e',
    500: '#ba5877',
    950: '#000000',
  },
}
SCSS
$custom: #ba5877;
$custom-light: #d28a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5877",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 341.02,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.13017,
    "h": 1.9
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#BA5877
secondary
#A2CCBF
accent
#D1AA56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5877

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

Preview Lab → · Contrast checker → · Palette generator →

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