#BA3A96#BA3A96

#BA3A96 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.190 H 341.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA3A96
RGBrgb(186, 58, 150)
HSLhsl(317, 52%, 48%)
HSVhsv(317, 69%, 73%)
CMYKcmyk(0%, 68.8%, 19.4%, 27.1%)
CIE-LABlab(46.54, 60.21, -22.95)
CIE-LCHlch(46.54, 64.43, 339.14°)
OKLaboklab(56.42% 0.1798 -0.0617)
OKLCHoklch(56.42% 0.19 341.1)
XYZxyz(27.2685, 15.6698, 30.4367)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A96 #3ABA5E
analogous
#9E3ABA #BA3A96 #BA3A56
triadic
#BA3A96 #96BA3A #3A96BA
tetradic
#BA3A96 #BA9E3A #3ABA5E #3A56BA
square
#BA3A96 #BA9E3A #3ABA5E #3A56BA
split-complementary
#BA3A96 #56BA3A #3ABA9E
monochromatic
#5D1D4B #8B2B70 #BA3A96 #CE63B0 #DD92C8

Accessibility & contrast

On white

5.08
#BA3A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA3A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A96
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A96#FFFFFF#000000##FFFFFF
##BA3A961.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#6B7693
Tritanopia (blue-blind)
#C53C63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3a96;
/* rgb */ color: rgb(186, 58, 150);
/* oklch */ color: oklch(56.4% 0.190 341.1);
Tailwind
colors: {
  custom: {
    50: '#d27ab5',
    500: '#ba3a96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a96;
$custom-light: #d27ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a96",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 316.875,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.19007,
    "h": 341.1
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#BA3A96
secondary
#88C89A
accent
#DC744C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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