#BA3896#BA3896

#BA3896 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.193 H 341.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA3896
RGBrgb(186, 56, 150)
HSLhsl(317, 54%, 47%)
HSVhsv(317, 70%, 73%)
CMYKcmyk(0%, 69.9%, 19.4%, 27.1%)
CIE-LABlab(46.27, 60.95, -23.35)
CIE-LCHlch(46.27, 65.27, 339.03°)
OKLaboklab(56.23% 0.182 -0.0628)
OKLCHoklch(56.23% 0.193 341)
XYZxyz(27.1697, 15.4721, 30.4038)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3896 #38BA5C
analogous
#9D38BA #BA3896 #BA3855
triadic
#BA3896 #96BA38 #3896BA
tetradic
#BA3896 #BA9D38 #38BA5C #3855BA
square
#BA3896 #BA9D38 #38BA5C #3855BA
split-complementary
#BA3896 #55BA38 #38BA9D
monochromatic
#5C1C4A #8B2A70 #BA3896 #CF60B0 #DD8FC8

Accessibility & contrast

On white

5.13
#BA3896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA3896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3896
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3896#FFFFFF#000000##FFFFFF
##BA38961.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426099
Deuteranopia (green-blind)
#6A7593
Tritanopia (blue-blind)
#C53B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3896;
/* rgb */ color: rgb(186, 56, 150);
/* oklch */ color: oklch(56.2% 0.193 341.0);
Tailwind
colors: {
  custom: {
    50: '#d279b5',
    500: '#ba3896',
    950: '#000000',
  },
}
SCSS
$custom: #ba3896;
$custom-light: #d279b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3896",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 316.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.19257,
    "h": 341
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#BA3896
secondary
#86C898
accent
#DD734B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3896

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

Preview Lab → · Contrast checker → · Palette generator →

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