#BA4C8D#BA4C8D

#BA4C8D is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.1% C 0.159 H 346.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA4C8D
RGBrgb(186, 76, 141)
HSLhsl(325, 44%, 51%)
HSVhsv(325, 59%, 73%)
CMYKcmyk(0%, 59.1%, 24.2%, 27.1%)
CIE-LABlab(48.93, 51.42, -13.90)
CIE-LCHlch(48.93, 53.27, 344.87°)
OKLaboklab(58.06% 0.1549 -0.0366)
OKLCHoklch(58.06% 0.159 346.7)
XYZxyz(27.6428, 17.5336, 27.1226)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C8D #4CBA79
analogous
#B04CBA #BA4C8D #BA4C56
triadic
#BA4C8D #8DBA4C #4C8DBA
tetradic
#BA4C8D #BAB04C #4CBA79 #4C56BA
square
#BA4C8D #BAB04C #4CBA79 #4C56BA
split-complementary
#BA4C8D #56BA4C #4CBAB0
monochromatic
#65274B #91386C #BA4C8D #CB78A9 #DCA4C5

Accessibility & contrast

On white

4.66
#BA4C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA4C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C8D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C8D#FFFFFF#000000##FFFFFF
##BA4C8D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#767B8A
Tritanopia (blue-blind)
#C64A66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4c8d;
/* rgb */ color: rgb(186, 76, 141);
/* oklch */ color: oklch(58.1% 0.159 346.7);
Tailwind
colors: {
  custom: {
    50: '#d284ae',
    500: '#ba4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c8d;
$custom-light: #d284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c8d",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 324.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.15915,
    "h": 346.7
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#BA4C8D
secondary
#99C9AC
accent
#D48854
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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