#BA4C94#BA4C94

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

Color values

HEX#BA4C94
RGBrgb(186, 76, 148)
HSLhsl(321, 44%, 51%)
HSVhsv(321, 59%, 73%)
CMYKcmyk(0%, 59.1%, 20.4%, 27.1%)
CIE-LABlab(49.19, 52.41, -17.68)
CIE-LCHlch(49.19, 55.32, 341.36°)
OKLaboklab(58.34% 0.1566 -0.0471)
OKLCHoklch(58.34% 0.164 343.3)
XYZxyz(28.1802, 17.7486, 29.9529)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C94 #4CBA72
analogous
#A94CBA #BA4C94 #BA4C5D
triadic
#BA4C94 #94BA4C #4C94BA
tetradic
#BA4C94 #BAA94C #4CBA72 #4C5DBA
square
#BA4C94 #BAA94C #4CBA72 #4C5DBA
split-complementary
#BA4C94 #5DBA4C #4CBAA9
monochromatic
#65274F #913872 #BA4C94 #CB78AE #DCA4C9

Accessibility & contrast

On white

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

On black

4.55
#BA4C94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4C94#FFFFFF#000000##FFFFFF
##BA4C941.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556996
Deuteranopia (green-blind)
#747C91
Tritanopia (blue-blind)
#C54C69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c94;
/* rgb */ color: rgb(186, 76, 148);
/* oklch */ color: oklch(58.3% 0.164 343.3);
Tailwind
colors: {
  custom: {
    50: '#d284b3',
    500: '#ba4c94',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c94;
$custom-light: #d284b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c94",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 320.727,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.16357,
    "h": 343.3
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4C94

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

Preview Lab → · Contrast checker → · Palette generator →

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