#BA4C99#BA4C99

#BA4C99 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.167 H 340.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA4C99
RGBrgb(186, 76, 153)
HSLhsl(318, 44%, 51%)
HSVhsv(318, 59%, 73%)
CMYKcmyk(0%, 59.1%, 17.7%, 27.1%)
CIE-LABlab(49.39, 53.15, -20.35)
CIE-LCHlch(49.39, 56.91, 339.05°)
OKLaboklab(58.55% 0.1578 -0.0546)
OKLCHoklch(58.55% 0.167 340.9)
XYZxyz(28.5845, 17.9103, 32.0824)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C99 #4CBA6D
analogous
#A44CBA #BA4C99 #BA4C62
triadic
#BA4C99 #99BA4C #4C99BA
tetradic
#BA4C99 #BAA44C #4CBA6D #4C62BA
square
#BA4C99 #BAA44C #4CBA6D #4C62BA
split-complementary
#BA4C99 #62BA4C #4CBAA4
monochromatic
#652752 #913876 #BA4C99 #CB78B2 #DCA4CB

Accessibility & contrast

On white

4.58
#BA4C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA4C99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4C99
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C99#FFFFFF#000000##000000
##BA4C991.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#737C96
Tritanopia (blue-blind)
#C44E6C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c99;
/* rgb */ color: rgb(186, 76, 153);
/* oklch */ color: oklch(58.5% 0.167 340.9);
Tailwind
colors: {
  custom: {
    50: '#d284b7',
    500: '#ba4c99',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c99;
$custom-light: #d284b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c99",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 318,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.16696,
    "h": 340.9
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#BA4C99
secondary
#99C9A7
accent
#D47A54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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