#BA3AA3#BA3AA3

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

Color values

HEX#BA3AA3
RGBrgb(186, 58, 163)
HSLhsl(311, 52%, 48%)
HSVhsv(311, 69%, 73%)
CMYKcmyk(0%, 68.8%, 12.4%, 27.1%)
CIE-LABlab(47.12, 62.09, -29.80)
CIE-LCHlch(47.12, 68.87, 334.36°)
OKLaboklab(57.03% 0.1817 -0.0811)
OKLCHoklch(57.03% 0.199 335.9)
XYZxyz(28.3740, 16.1120, 36.2588)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AA3 #3ABA51
analogous
#913ABA #BA3AA3 #BA3A63
triadic
#BA3AA3 #A3BA3A #3AA3BA
tetradic
#BA3AA3 #BA913A #3ABA51 #3A63BA
square
#BA3AA3 #BA913A #3ABA51 #3A63BA
split-complementary
#BA3AA3 #63BA3A #3ABA91
monochromatic
#5D1D51 #8B2B7A #BA3AA3 #CE63BB #DD92CF

Accessibility & contrast

On white

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

On black

4.22
#BA3AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3AA3#FFFFFF#000000##FFFFFF
##BA3AA31.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#C3426A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3aa3;
/* rgb */ color: rgb(186, 58, 163);
/* oklch */ color: oklch(57.0% 0.199 335.9);
Tailwind
colors: {
  custom: {
    50: '#d27bbe',
    500: '#ba3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aa3;
$custom-light: #d27bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aa3",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 310.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.19899,
    "h": 335.9
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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