#BA4C8F#BA4C8F

#BA4C8F is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.1% C 0.160 H 345.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA4C8F
RGBrgb(186, 76, 143)
HSLhsl(323, 44%, 51%)
HSVhsv(323, 59%, 73%)
CMYKcmyk(0%, 59.1%, 23.1%, 27.1%)
CIE-LABlab(49.00, 51.70, -14.98)
CIE-LCHlch(49.00, 53.83, 343.84°)
OKLaboklab(58.14% 0.1554 -0.0396)
OKLCHoklch(58.14% 0.16 345.7)
XYZxyz(27.7929, 17.5937, 27.9135)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C8F #4CBA77
analogous
#AE4CBA #BA4C8F #BA4C58
triadic
#BA4C8F #8FBA4C #4C8FBA
tetradic
#BA4C8F #BAAE4C #4CBA77 #4C58BA
square
#BA4C8F #BAAE4C #4CBA77 #4C58BA
split-complementary
#BA4C8F #58BA4C #4CBAAE
monochromatic
#65274D #91386E #BA4C8F #CB78AB #DCA4C6

Accessibility & contrast

On white

4.65
#BA4C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA4C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C8F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C8F#FFFFFF#000000##FFFFFF
##BA4C8F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#767B8C
Tritanopia (blue-blind)
#C64A67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4c8f;
/* rgb */ color: rgb(186, 76, 143);
/* oklch */ color: oklch(58.1% 0.160 345.7);
Tailwind
colors: {
  custom: {
    50: '#d284af',
    500: '#ba4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c8f;
$custom-light: #d284af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c8f",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 323.455,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.16037,
    "h": 345.7
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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