#BA4C8A#BA4C8A

#BA4C8A is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.9% C 0.157 H 348.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA4C8A
RGBrgb(186, 76, 138)
HSLhsl(326, 44%, 51%)
HSVhsv(326, 59%, 73%)
CMYKcmyk(0%, 59.1%, 25.8%, 27.1%)
CIE-LABlab(48.82, 51.01, -12.27)
CIE-LCHlch(48.82, 52.46, 346.48°)
OKLaboklab(57.94% 0.1541 -0.0322)
OKLCHoklch(57.94% 0.157 348.2)
XYZxyz(27.4226, 17.4456, 25.9629)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C8A #4CBA7C
analogous
#B34CBA #BA4C8A #BA4C53
triadic
#BA4C8A #8ABA4C #4C8ABA
tetradic
#BA4C8A #BAB34C #4CBA7C #4C53BA
square
#BA4C8A #BAB34C #4CBA7C #4C53BA
split-complementary
#BA4C8A #53BA4C #4CBAB3
monochromatic
#65274A #91386A #BA4C8A #CB78A7 #DCA4C4

Accessibility & contrast

On white

4.68
#BA4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C8A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C8A#FFFFFF#000000##FFFFFF
##BA4C8A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#C64965
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4c8a;
/* rgb */ color: rgb(186, 76, 138);
/* oklch */ color: oklch(57.9% 0.157 348.2);
Tailwind
colors: {
  custom: {
    50: '#d283ac',
    500: '#ba4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c8a;
$custom-light: #d283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c8a",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 326.182,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.15738,
    "h": 348.2
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#BA4C8A
secondary
#99C9AE
accent
#D48C54
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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