#BA3AA0#BA3AA0

#BA3AA0 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.197 H 337.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA3AA0
RGBrgb(186, 58, 160)
HSLhsl(312, 52%, 48%)
HSVhsv(312, 69%, 73%)
CMYKcmyk(0%, 68.8%, 14%, 27.1%)
CIE-LABlab(46.98, 61.65, -28.23)
CIE-LCHlch(46.98, 67.80, 335.39°)
OKLaboklab(56.89% 0.1813 -0.0767)
OKLCHoklch(56.89% 0.197 337.1)
XYZxyz(28.1084, 16.0058, 34.8599)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AA0 #3ABA54
analogous
#943ABA #BA3AA0 #BA3A60
triadic
#BA3AA0 #A0BA3A #3AA0BA
tetradic
#BA3AA0 #BA943A #3ABA54 #3A60BA
square
#BA3AA0 #BA943A #3ABA54 #3A60BA
split-complementary
#BA3AA0 #60BA3A #3ABA94
monochromatic
#5D1D50 #8B2B78 #BA3AA0 #CE63B8 #DD92CE

Accessibility & contrast

On white

5.00
#BA3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AA0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AA0#FFFFFF#000000##FFFFFF
##BA3AA01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A3
Deuteranopia (green-blind)
#67769D
Tritanopia (blue-blind)
#C44168
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3aa0;
/* rgb */ color: rgb(186, 58, 160);
/* oklch */ color: oklch(56.9% 0.197 337.1);
Tailwind
colors: {
  custom: {
    50: '#d27bbc',
    500: '#ba3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aa0;
$custom-light: #d27bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aa0",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 312.188,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.19686,
    "h": 337.1
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#BA3AA0
secondary
#88C895
accent
#DC694C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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