#BA3AA4#BA3AA4

#BA3AA4 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 57.1% C 0.200 H 335.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA3AA4
RGBrgb(186, 58, 164)
HSLhsl(310, 52%, 48%)
HSVhsv(310, 69%, 73%)
CMYKcmyk(0%, 68.8%, 11.8%, 27.1%)
CIE-LABlab(47.17, 62.24, -30.32)
CIE-LCHlch(47.17, 69.23, 334.03°)
OKLaboklab(57.08% 0.1818 -0.0826)
OKLCHoklch(57.08% 0.2 335.6)
XYZxyz(28.4639, 16.1480, 36.7325)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AA4 #3ABA50
analogous
#903ABA #BA3AA4 #BA3A64
triadic
#BA3AA4 #A4BA3A #3AA4BA
tetradic
#BA3AA4 #BA903A #3ABA50 #3A64BA
square
#BA3AA4 #BA903A #3ABA50 #3A64BA
split-complementary
#BA3AA4 #64BA3A #3ABA90
monochromatic
#5D1D52 #8B2B7B #BA3AA4 #CE63BC #DD92D0

Accessibility & contrast

On white

4.97
#BA3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA3AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AA4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AA4#FFFFFF#000000##FFFFFF
##BA3AA41.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#C3436A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3aa4;
/* rgb */ color: rgb(186, 58, 164);
/* oklch */ color: oklch(57.1% 0.200 335.6);
Tailwind
colors: {
  custom: {
    50: '#d27bbf',
    500: '#ba3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aa4;
$custom-light: #d27bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aa4",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 310.313,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.19972,
    "h": 335.6
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#BA3AA4
secondary
#88C893
accent
#DC654C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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