#BA4989#BA4989

#BA4989 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.5% C 0.161 H 348.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA4989
RGBrgb(186, 73, 137)
HSLhsl(326, 45%, 51%)
HSVhsv(326, 61%, 73%)
CMYKcmyk(0%, 60.8%, 26.3%, 27.1%)
CIE-LABlab(48.28, 52.23, -12.48)
CIE-LCHlch(48.28, 53.70, 346.56°)
OKLaboklab(57.53% 0.158 -0.0327)
OKLCHoklch(57.53% 0.161 348.3)
XYZxyz(27.1486, 17.0130, 25.5161)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4989 #49BA7A
analogous
#B349BA #BA4989 #BA4950
triadic
#BA4989 #89BA49 #4989BA
tetradic
#BA4989 #BAB349 #49BA7A #4950BA
square
#BA4989 #BAB349 #49BA7A #4950BA
split-complementary
#BA4989 #50BA49 #49BAB3
monochromatic
#632648 #8F3669 #BA4989 #CB75A6 #DCA2C3

Accessibility & contrast

On white

4.77
#BA4989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA4989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4989
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4989#FFFFFF#000000##FFFFFF
##BA49891.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668B
Deuteranopia (green-blind)
#767A86
Tritanopia (blue-blind)
#C64663
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4989;
/* rgb */ color: rgb(186, 73, 137);
/* oklch */ color: oklch(57.5% 0.161 348.3);
Tailwind
colors: {
  custom: {
    50: '#d282ab',
    500: '#ba4989',
    950: '#000000',
  },
}
SCSS
$custom: #ba4989;
$custom-light: #d282ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4989",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 326.018,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.16131,
    "h": 348.3
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#BA4989
secondary
#96C8AC
accent
#D58B53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4989

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

Preview Lab → · Contrast checker → · Palette generator →

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