#BA4D87#BA4D87

#BA4D87 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.0% C 0.154 H 349.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA4D87
RGBrgb(186, 77, 135)
HSLhsl(328, 44%, 52%)
HSVhsv(328, 59%, 73%)
CMYKcmyk(0%, 58.6%, 27.4%, 27.1%)
CIE-LABlab(48.88, 50.14, -10.37)
CIE-LCHlch(48.88, 51.20, 348.32°)
OKLaboklab(57.95% 0.1518 -0.027)
OKLCHoklch(57.95% 0.154 349.9)
XYZxyz(27.2778, 17.4987, 24.8580)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D87 #4DBA80
analogous
#B74DBA #BA4D87 #BA4D51
triadic
#BA4D87 #87BA4D #4D87BA
tetradic
#BA4D87 #BAB74D #4DBA80 #4D51BA
square
#BA4D87 #BAB74D #4DBA80 #4D51BA
split-complementary
#BA4D87 #51BA4D #4DBAB7
monochromatic
#652748 #913868 #BA4D87 #CB79A5 #DCA5C2

Accessibility & contrast

On white

4.67
#BA4D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D87
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D87#FFFFFF#000000##FFFFFF
##BA4D871.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4d87;
/* rgb */ color: rgb(186, 77, 135);
/* oklch */ color: oklch(58.0% 0.154 349.9);
Tailwind
colors: {
  custom: {
    50: '#d284aa',
    500: '#ba4d87',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d87;
$custom-light: #d284aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d87",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 328.073,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.15417,
    "h": 349.9
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#BA4D87
secondary
#99C9B0
accent
#D49054
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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