#BA3B96#BA3B96

#BA3B96 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.5% C 0.189 H 341.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA3B96
RGBrgb(186, 59, 150)
HSLhsl(317, 52%, 48%)
HSVhsv(317, 68%, 73%)
CMYKcmyk(0%, 68.3%, 19.4%, 27.1%)
CIE-LABlab(46.67, 59.83, -22.74)
CIE-LCHlch(46.67, 64.01, 339.19°)
OKLaboklab(56.52% 0.1786 -0.0611)
OKLCHoklch(56.52% 0.189 341.1)
XYZxyz(27.3194, 15.7716, 30.4537)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B96 #3BBA5F
analogous
#9E3BBA #BA3B96 #BA3B56
triadic
#BA3B96 #96BA3B #3B96BA
tetradic
#BA3B96 #BA9E3B #3BBA5F #3B56BA
square
#BA3B96 #BA9E3B #3BBA5F #3B56BA
split-complementary
#BA3B96 #56BA3B #3BBA9E
monochromatic
#5D1E4B #8C2C71 #BA3B96 #CE64B0 #DD93C8

Accessibility & contrast

On white

5.06
#BA3B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B96
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B96#FFFFFF#000000##FFFFFF
##BA3B961.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#6B7693
Tritanopia (blue-blind)
#C53D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3b96;
/* rgb */ color: rgb(186, 59, 150);
/* oklch */ color: oklch(56.5% 0.189 341.1);
Tailwind
colors: {
  custom: {
    50: '#d27bb5',
    500: '#ba3b96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b96;
$custom-light: #d27bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b96",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 317.008,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.18881,
    "h": 341.1
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#BA3B96
secondary
#89C89B
accent
#DB754D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B96

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

Preview Lab → · Contrast checker → · Palette generator →

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