#BA4C87#BA4C87

#BA4C87 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.156 H 349.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA4C87
RGBrgb(186, 76, 135)
HSLhsl(328, 44%, 51%)
HSVhsv(328, 59%, 73%)
CMYKcmyk(0%, 59.1%, 27.4%, 27.1%)
CIE-LABlab(48.71, 50.60, -10.63)
CIE-LCHlch(48.71, 51.71, 348.14°)
OKLaboklab(57.83% 0.1532 -0.0277)
OKLCHoklch(57.83% 0.156 349.8)
XYZxyz(27.2084, 17.3599, 24.8348)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C87 #4CBA7F
analogous
#B64CBA #BA4C87 #BA4C50
triadic
#BA4C87 #87BA4C #4C87BA
tetradic
#BA4C87 #BAB64C #4CBA7F #4C50BA
square
#BA4C87 #BAB64C #4CBA7F #4C50BA
split-complementary
#BA4C87 #50BA4C #4CBAB6
monochromatic
#652748 #913868 #BA4C87 #CB78A5 #DCA4C2

Accessibility & contrast

On white

4.70
#BA4C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA4C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C87
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C87#FFFFFF#000000##FFFFFF
##BA4C871.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6889
Deuteranopia (green-blind)
#787B84
Tritanopia (blue-blind)
#C64863
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4c87;
/* rgb */ color: rgb(186, 76, 135);
/* oklch */ color: oklch(57.8% 0.156 349.8);
Tailwind
colors: {
  custom: {
    50: '#d283aa',
    500: '#ba4c87',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c87;
$custom-light: #d283aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c87",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 327.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.15569,
    "h": 349.8
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#BA4C87
secondary
#99C9AF
accent
#D48F54
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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