#BA4D96#BA4D96

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

Color values

HEX#BA4D96
RGBrgb(186, 77, 150)
HSLhsl(320, 44%, 52%)
HSVhsv(320, 59%, 73%)
CMYKcmyk(0%, 58.6%, 19.4%, 27.1%)
CIE-LABlab(49.44, 52.25, -18.49)
CIE-LCHlch(49.44, 55.43, 340.51°)
OKLaboklab(58.55% 0.1557 -0.0494)
OKLCHoklch(58.55% 0.163 342.4)
XYZxyz(28.4093, 17.9513, 30.8170)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D96 #4DBA71
analogous
#A84DBA #BA4D96 #BA4D5F
triadic
#BA4D96 #96BA4D #4D96BA
tetradic
#BA4D96 #BAA84D #4DBA71 #4D5FBA
square
#BA4D96 #BAA84D #4DBA71 #4D5FBA
split-complementary
#BA4D96 #5FBA4D #4DBAA8
monochromatic
#652751 #913874 #BA4D96 #CB79B0 #DCA5CA

Accessibility & contrast

On white

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

On black

4.59
#BA4D96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4D96
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D96#FFFFFF#000000##000000
##BA4D961.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#556A98
Deuteranopia (green-blind)
#747C93
Tritanopia (blue-blind)
#C54E6B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d96;
/* rgb */ color: rgb(186, 77, 150);
/* oklch */ color: oklch(58.5% 0.163 342.4);
Tailwind
colors: {
  custom: {
    50: '#d284b5',
    500: '#ba4d96',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d96;
$custom-light: #d284b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d96",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 319.817,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.16337,
    "h": 342.4
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#BA4D96
secondary
#99C9A9
accent
#D47E54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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