#BA3A8A#BA3A8A

#BA3A8A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.183 H 346.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA3A8A
RGBrgb(186, 58, 138)
HSLhsl(323, 52%, 48%)
HSVhsv(323, 69%, 73%)
CMYKcmyk(0%, 68.8%, 25.8%, 27.1%)
CIE-LABlab(46.05, 58.59, -16.47)
CIE-LCHlch(46.05, 60.86, 344.30°)
OKLaboklab(55.9% 0.1774 -0.0436)
OKLCHoklch(55.9% 0.183 346.2)
XYZxyz(26.3513, 15.3029, 25.6058)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A8A #3ABA6A
analogous
#AA3ABA #BA3A8A #BA3A4A
triadic
#BA3A8A #8ABA3A #3A8ABA
tetradic
#BA3A8A #BAAA3A #3ABA6A #3A4ABA
square
#BA3A8A #BAAA3A #3ABA6A #3A4ABA
split-complementary
#BA3A8A #4ABA3A #3ABAAA
monochromatic
#5D1D45 #8B2B67 #BA3A8A #CE63A6 #DD92C1

Accessibility & contrast

On white

5.17
#BA3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A8A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A8A#FFFFFF#000000##FFFFFF
##BA3A8A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#C6375D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a8a;
/* rgb */ color: rgb(186, 58, 138);
/* oklch */ color: oklch(55.9% 0.183 346.2);
Tailwind
colors: {
  custom: {
    50: '#d37aac',
    500: '#ba3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a8a;
$custom-light: #d37aac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a8a",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 322.5,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.18264,
    "h": 346.2
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#BA3A8A
secondary
#88C8A0
accent
#DC824C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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