#BA4C85#BA4C85

#BA4C85 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.8% C 0.155 H 350.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA4C85
RGBrgb(186, 76, 133)
HSLhsl(329, 44%, 51%)
HSVhsv(329, 59%, 73%)
CMYKcmyk(0%, 59.1%, 28.5%, 27.1%)
CIE-LABlab(48.64, 50.34, -9.53)
CIE-LCHlch(48.64, 51.23, 349.28°)
OKLaboklab(57.75% 0.1526 -0.0247)
OKLCHoklch(57.75% 0.155 350.8)
XYZxyz(27.0689, 17.3041, 24.1002)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C85 #4CBA81
analogous
#B84CBA #BA4C85 #BA4C4E
triadic
#BA4C85 #85BA4C #4C85BA
tetradic
#BA4C85 #BAB84C #4CBA81 #4C4EBA
square
#BA4C85 #BAB84C #4CBA81 #4C4EBA
split-complementary
#BA4C85 #4EBA4C #4CBAB8
monochromatic
#652747 #913866 #BA4C85 #CB78A3 #DCA4C1

Accessibility & contrast

On white

4.71
#BA4C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA4C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C85
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C85#FFFFFF#000000##FFFFFF
##BA4C851.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6787
Deuteranopia (green-blind)
#787B82
Tritanopia (blue-blind)
#C74763
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4c85;
/* rgb */ color: rgb(186, 76, 133);
/* oklch */ color: oklch(57.8% 0.155 350.8);
Tailwind
colors: {
  custom: {
    50: '#d283a8',
    500: '#ba4c85',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c85;
$custom-light: #d283a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c85",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 328.909,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.15462,
    "h": 350.8
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#BA4C85
secondary
#99C9B0
accent
#D49254
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4C85

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

Preview Lab → · Contrast checker → · Palette generator →

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