#BA3BA2#BA3BA2

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

Color values

HEX#BA3BA2
RGBrgb(186, 59, 162)
HSLhsl(311, 52%, 48%)
HSVhsv(311, 68%, 73%)
CMYKcmyk(0%, 68.3%, 12.9%, 27.1%)
CIE-LABlab(47.21, 61.57, -29.07)
CIE-LCHlch(47.21, 68.09, 334.73°)
OKLaboklab(57.08% 0.1805 -0.0791)
OKLCHoklch(57.08% 0.197 336.3)
XYZxyz(28.3357, 16.1781, 35.8058)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BA2 #3BBA53
analogous
#933BBA #BA3BA2 #BA3B62
triadic
#BA3BA2 #A2BA3B #3BA2BA
tetradic
#BA3BA2 #BA933B #3BBA53 #3B62BA
square
#BA3BA2 #BA933B #3BBA53 #3B62BA
split-complementary
#BA3BA2 #62BA3B #3BBA93
monochromatic
#5D1E51 #8C2C7A #BA3BA2 #CE64BA #DD93CF

Accessibility & contrast

On white

4.96
#BA3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3BA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BA2#FFFFFF#000000##FFFFFF
##BA3BA21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#C34369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ba2;
/* rgb */ color: rgb(186, 59, 162);
/* oklch */ color: oklch(57.1% 0.197 336.3);
Tailwind
colors: {
  custom: {
    50: '#d27bbe',
    500: '#ba3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ba2;
$custom-light: #d27bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ba2",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 311.339,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.19703,
    "h": 336.3
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

primary
#BA3BA2
secondary
#89C895
accent
#DB674D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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