#BA4B8A#BA4B8A

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

Color values

HEX#BA4B8A
RGBrgb(186, 75, 138)
HSLhsl(326, 45%, 51%)
HSVhsv(326, 60%, 73%)
CMYKcmyk(0%, 59.7%, 25.8%, 27.1%)
CIE-LABlab(48.65, 51.47, -12.52)
CIE-LCHlch(48.65, 52.97, 346.32°)
OKLaboklab(57.81% 0.1555 -0.0329)
OKLCHoklch(57.81% 0.159 348.1)
XYZxyz(27.3542, 17.3088, 25.9401)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B8A #4BBA7B
analogous
#B24BBA #BA4B8A #BA4B52
triadic
#BA4B8A #8ABA4B #4B8ABA
tetradic
#BA4B8A #BAB24B #4BBA7B #4B52BA
square
#BA4B8A #BAB24B #4BBA7B #4B52BA
split-complementary
#BA4B8A #52BA4B #4BBAB2
monochromatic
#642649 #90376A #BA4B8A #CB77A7 #DCA3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4B8A#FFFFFF#000000##FFFFFF
##BA4B8A1.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)
#58678C
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#C64864
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4b8a;
/* rgb */ color: rgb(186, 75, 138);
/* oklch */ color: oklch(57.8% 0.159 348.1);
Tailwind
colors: {
  custom: {
    50: '#d283ac',
    500: '#ba4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b8a;
$custom-light: #d283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b8a",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 325.946,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.1589,
    "h": 348.1
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#BA4B8A
secondary
#98C9AD
accent
#D48B54
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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