#BA4E8A#BA4E8A

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

Color values

HEX#BA4E8A
RGBrgb(186, 78, 138)
HSLhsl(327, 44%, 52%)
HSVhsv(327, 58%, 73%)
CMYKcmyk(0%, 58.1%, 25.8%, 27.1%)
CIE-LABlab(49.16, 50.08, -11.75)
CIE-LCHlch(49.16, 51.44, 346.80°)
OKLaboklab(58.19% 0.1512 -0.0308)
OKLCHoklch(58.19% 0.154 348.5)
XYZxyz(27.5625, 17.7254, 26.0096)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E8A #4EBA7E
analogous
#B44EBA #BA4E8A #BA4E54
triadic
#BA4E8A #8ABA4E #4E8ABA
tetradic
#BA4E8A #BAB44E #4EBA7E #4E54BA
square
#BA4E8A #BAB44E #4EBA7E #4E54BA
split-complementary
#BA4E8A #54BA4E #4EBAB4
monochromatic
#66284A #92396A #BA4E8A #CB7AA7 #DCA6C4

Accessibility & contrast

On white

4.62
#BA4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4E8A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E8A#FFFFFF#000000##FFFFFF
##BA4E8A1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#787C87
Tritanopia (blue-blind)
#C64B66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e8a;
/* rgb */ color: rgb(186, 78, 138);
/* oklch */ color: oklch(58.2% 0.154 348.5);
Tailwind
colors: {
  custom: {
    50: '#d285ac',
    500: '#ba4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e8a;
$custom-light: #d285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e8a",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 326.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.15432,
    "h": 348.5
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#BA4E8A
secondary
#9ACAAF
accent
#D48D54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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