#BA3B8A#BA3B8A

#BA3B8A is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.181 H 346.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3B8A
RGBrgb(186, 59, 138)
HSLhsl(323, 52%, 48%)
HSVhsv(323, 68%, 73%)
CMYKcmyk(0%, 68.3%, 25.8%, 27.1%)
CIE-LABlab(46.18, 58.21, -16.26)
CIE-LCHlch(46.18, 60.44, 344.39°)
OKLaboklab(56% 0.1762 -0.043)
OKLCHoklch(56% 0.181 346.3)
XYZxyz(26.4022, 15.4047, 25.6228)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B8A #3BBA6B
analogous
#AA3BBA #BA3B8A #BA3B4A
triadic
#BA3B8A #8ABA3B #3B8ABA
tetradic
#BA3B8A #BAAA3B #3BBA6B #3B4ABA
square
#BA3B8A #BAAA3B #3BBA6B #3B4ABA
split-complementary
#BA3B8A #4ABA3B #3BBAAA
monochromatic
#5D1E45 #8C2C68 #BA3B8A #CE64A6 #DD93C1

Accessibility & contrast

On white

5.15
#BA3B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B8A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B8A#FFFFFF#000000##FFFFFF
##BA3B8A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#C6385D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b8a;
/* rgb */ color: rgb(186, 59, 138);
/* oklch */ color: oklch(56.0% 0.181 346.3);
Tailwind
colors: {
  custom: {
    50: '#d37aac',
    500: '#ba3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b8a;
$custom-light: #d37aac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b8a",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 322.677,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.18136,
    "h": 346.3
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#BA3B8A
secondary
#89C8A1
accent
#DB824D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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