#BA4E89#BA4E89

#BA4E89 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.2% C 0.154 H 349.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4E89
RGBrgb(186, 78, 137)
HSLhsl(327, 44%, 52%)
HSVhsv(327, 58%, 73%)
CMYKcmyk(0%, 58.1%, 26.3%, 27.1%)
CIE-LABlab(49.13, 49.95, -11.20)
CIE-LCHlch(49.13, 51.19, 347.36°)
OKLaboklab(58.16% 0.1509 -0.0293)
OKLCHoklch(58.16% 0.154 349)
XYZxyz(27.4905, 17.6966, 25.6300)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E89 #4EBA7F
analogous
#B54EBA #BA4E89 #BA4E53
triadic
#BA4E89 #89BA4E #4E89BA
tetradic
#BA4E89 #BAB54E #4EBA7F #4E53BA
square
#BA4E89 #BAB54E #4EBA7F #4E53BA
split-complementary
#BA4E89 #53BA4E #4EBAB5
monochromatic
#66284A #92396A #BA4E89 #CB7AA6 #DCA6C4

Accessibility & contrast

On white

4.63
#BA4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA4E89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E89
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E89#FFFFFF#000000##FFFFFF
##BA4E891.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698B
Deuteranopia (green-blind)
#787C86
Tritanopia (blue-blind)
#C64A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e89;
/* rgb */ color: rgb(186, 78, 137);
/* oklch */ color: oklch(58.2% 0.154 349.0);
Tailwind
colors: {
  custom: {
    50: '#d285ab',
    500: '#ba4e89',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e89;
$custom-light: #d285ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e89",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 327.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.15375,
    "h": 349
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#BA4E89
secondary
#9ACAB0
accent
#D48E54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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