#BA4C97#BA4C97

#BA4C97 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.166 H 341.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA4C97
RGBrgb(186, 76, 151)
HSLhsl(319, 44%, 51%)
HSVhsv(319, 59%, 73%)
CMYKcmyk(0%, 59.1%, 18.8%, 27.1%)
CIE-LABlab(49.31, 52.85, -19.28)
CIE-LCHlch(49.31, 56.26, 339.96°)
OKLaboklab(58.46% 0.1573 -0.0516)
OKLCHoklch(58.46% 0.166 341.8)
XYZxyz(28.4207, 17.8448, 31.2197)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C97 #4CBA6F
analogous
#A64CBA #BA4C97 #BA4C60
triadic
#BA4C97 #97BA4C #4C97BA
tetradic
#BA4C97 #BAA64C #4CBA6F #4C60BA
square
#BA4C97 #BAA64C #4CBA6F #4C60BA
split-complementary
#BA4C97 #60BA4C #4CBAA6
monochromatic
#652751 #913875 #BA4C97 #CB78B1 #DCA4CA

Accessibility & contrast

On white

4.60
#BA4C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA4C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C97
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C97#FFFFFF#000000##FFFFFF
##BA4C971.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#737C94
Tritanopia (blue-blind)
#C54D6B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c97;
/* rgb */ color: rgb(186, 76, 151);
/* oklch */ color: oklch(58.5% 0.166 341.8);
Tailwind
colors: {
  custom: {
    50: '#d284b5',
    500: '#ba4c97',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c97;
$custom-light: #d284b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c97",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 319.091,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.16558,
    "h": 341.8
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#BA4C97
secondary
#99C9A8
accent
#D47D54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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