#BA4A8A#BA4A8A

#BA4A8A is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.7% C 0.160 H 347.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA4A8A
RGBrgb(186, 74, 138)
HSLhsl(326, 45%, 51%)
HSVhsv(326, 60%, 73%)
CMYKcmyk(0%, 60.2%, 25.8%, 27.1%)
CIE-LABlab(48.48, 51.92, -12.78)
CIE-LCHlch(48.48, 53.47, 346.17°)
OKLaboklab(57.69% 0.1568 -0.0336)
OKLCHoklch(57.69% 0.16 347.9)
XYZxyz(27.2869, 17.1743, 25.9177)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A8A #4ABA7A
analogous
#B24ABA #BA4A8A #BA4A52
triadic
#BA4A8A #8ABA4A #4A8ABA
tetradic
#BA4A8A #BAB24A #4ABA7A #4A52BA
square
#BA4A8A #BAB24A #4ABA7A #4A52BA
split-complementary
#BA4A8A #52BA4A #4ABAB2
monochromatic
#642649 #90376A #BA4A8A #CB76A7 #DCA3C3

Accessibility & contrast

On white

4.74
#BA4A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA4A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A8A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A8A#FFFFFF#000000##FFFFFF
##BA4A8A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#C64764
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4a8a;
/* rgb */ color: rgb(186, 74, 138);
/* oklch */ color: oklch(57.7% 0.160 347.9);
Tailwind
colors: {
  custom: {
    50: '#d282ac',
    500: '#ba4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a8a;
$custom-light: #d282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a8a",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 325.714,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.16039,
    "h": 347.9
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#BA4A8A
secondary
#97C9AC
accent
#D58B53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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