#BA4C95#BA4C95

#BA4C95 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.164 H 342.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4C95
RGBrgb(186, 76, 149)
HSLhsl(320, 44%, 51%)
HSVhsv(320, 59%, 73%)
CMYKcmyk(0%, 59.1%, 19.9%, 27.1%)
CIE-LABlab(49.23, 52.56, -18.21)
CIE-LCHlch(49.23, 55.63, 340.89°)
OKLaboklab(58.38% 0.1569 -0.0486)
OKLCHoklch(58.38% 0.164 342.8)
XYZxyz(28.2597, 17.7804, 30.3716)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C95 #4CBA71
analogous
#A84CBA #BA4C95 #BA4C5E
triadic
#BA4C95 #95BA4C #4C95BA
tetradic
#BA4C95 #BAA84C #4CBA71 #4C5EBA
square
#BA4C95 #BAA84C #4CBA71 #4C5EBA
split-complementary
#BA4C95 #5EBA4C #4CBAA8
monochromatic
#652750 #913873 #BA4C95 #CB78AF #DCA4C9

Accessibility & contrast

On white

4.61
#BA4C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA4C95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C95
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C95#FFFFFF#000000##FFFFFF
##BA4C951.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A97
Deuteranopia (green-blind)
#747C92
Tritanopia (blue-blind)
#C54C6A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c95;
/* rgb */ color: rgb(186, 76, 149);
/* oklch */ color: oklch(58.4% 0.164 342.8);
Tailwind
colors: {
  custom: {
    50: '#d284b4',
    500: '#ba4c95',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c95;
$custom-light: #d284b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c95",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 320.182,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.16423,
    "h": 342.8
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#BA4C95
secondary
#99C9A9
accent
#D47F54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4C95

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

Preview Lab → · Contrast checker → · Palette generator →

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