#BA488A#BA488A

#BA488A is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.4% C 0.163 H 347.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA488A
RGBrgb(186, 72, 138)
HSLhsl(325, 45%, 51%)
HSVhsv(325, 61%, 73%)
CMYKcmyk(0%, 61.3%, 25.8%, 27.1%)
CIE-LABlab(48.15, 52.81, -13.28)
CIE-LCHlch(48.15, 54.46, 345.89°)
OKLaboklab(57.45% 0.1596 -0.0349)
OKLCHoklch(57.45% 0.163 347.7)
XYZxyz(27.1555, 16.9114, 25.8739)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA488A #48BA78
analogous
#B148BA #BA488A #BA4851
triadic
#BA488A #8ABA48 #488ABA
tetradic
#BA488A #BAB148 #48BA78 #4851BA
square
#BA488A #BAB148 #48BA78 #4851BA
split-complementary
#BA488A #51BA48 #48BAB1
monochromatic
#622549 #8F3669 #BA488A #CB74A6 #DCA1C3

Accessibility & contrast

On white

4.79
#BA488A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA488A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA488A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA488A#FFFFFF#000000##FFFFFF
##BA488A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#757A87
Tritanopia (blue-blind)
#C64563
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba488a;
/* rgb */ color: rgb(186, 72, 138);
/* oklch */ color: oklch(57.4% 0.163 347.7);
Tailwind
colors: {
  custom: {
    50: '#d281ac',
    500: '#ba488a',
    950: '#000000',
  },
}
SCSS
$custom: #ba488a;
$custom-light: #d281ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba488a",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 325.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.16336,
    "h": 347.7
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#BA488A
secondary
#96C8AB
accent
#D58A53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA488A

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

Preview Lab → · Contrast checker → · Palette generator →

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