#BA4C91#BA4C91

#BA4C91 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.2% C 0.162 H 344.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA4C91
RGBrgb(186, 76, 145)
HSLhsl(322, 44%, 51%)
HSVhsv(322, 59%, 73%)
CMYKcmyk(0%, 59.1%, 22%, 27.1%)
CIE-LABlab(49.07, 51.98, -16.06)
CIE-LCHlch(49.07, 54.41, 342.83°)
OKLaboklab(58.22% 0.1559 -0.0426)
OKLCHoklch(58.22% 0.162 344.7)
XYZxyz(27.9458, 17.6548, 28.7185)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C91 #4CBA75
analogous
#AC4CBA #BA4C91 #BA4C5A
triadic
#BA4C91 #91BA4C #4C91BA
tetradic
#BA4C91 #BAAC4C #4CBA75 #4C5ABA
square
#BA4C91 #BAAC4C #4CBA75 #4C5ABA
split-complementary
#BA4C91 #5ABA4C #4CBAAC
monochromatic
#65274E #913870 #BA4C91 #CB78AC #DCA4C7

Accessibility & contrast

On white

4.64
#BA4C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA4C91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C91
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C91#FFFFFF#000000##FFFFFF
##BA4C911.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566993
Deuteranopia (green-blind)
#757B8E
Tritanopia (blue-blind)
#C54B68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c91;
/* rgb */ color: rgb(186, 76, 145);
/* oklch */ color: oklch(58.2% 0.162 344.7);
Tailwind
colors: {
  custom: {
    50: '#d284b1',
    500: '#ba4c91',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c91;
$custom-light: #d284b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c91",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 322.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.16162,
    "h": 344.7
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#BA4C91
secondary
#99C9AB
accent
#D48454
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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