#BA3BA3#BA3BA3

#BA3BA3 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.1% C 0.198 H 336.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA3BA3
RGBrgb(186, 59, 163)
HSLhsl(311, 52%, 48%)
HSVhsv(311, 68%, 73%)
CMYKcmyk(0%, 68.3%, 12.4%, 27.1%)
CIE-LABlab(47.25, 61.72, -29.59)
CIE-LCHlch(47.25, 68.45, 334.39°)
OKLaboklab(57.13% 0.1806 -0.0806)
OKLCHoklch(57.13% 0.198 336)
XYZxyz(28.4249, 16.2138, 36.2758)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BA3 #3BBA52
analogous
#913BBA #BA3BA3 #BA3B63
triadic
#BA3BA3 #A3BA3B #3BA3BA
tetradic
#BA3BA3 #BA913B #3BBA52 #3B63BA
square
#BA3BA3 #BA913B #3BBA52 #3B63BA
split-complementary
#BA3BA3 #63BA3B #3BBA91
monochromatic
#5D1E52 #8C2C7A #BA3BA3 #CE64BB #DD93CF

Accessibility & contrast

On white

4.95
#BA3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA3BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BA3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BA3#FFFFFF#000000##FFFFFF
##BA3BA31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#C3436A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ba3;
/* rgb */ color: rgb(186, 59, 163);
/* oklch */ color: oklch(57.1% 0.198 336.0);
Tailwind
colors: {
  custom: {
    50: '#d27bbe',
    500: '#ba3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ba3;
$custom-light: #d27bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ba3",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 310.866,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.19775,
    "h": 336
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#BA3BA3
secondary
#89C894
accent
#DB664D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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