#BA3996#BA3996

#BA3996 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.191 H 341.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA3996
RGBrgb(186, 57, 150)
HSLhsl(317, 53%, 48%)
HSVhsv(317, 69%, 73%)
CMYKcmyk(0%, 69.4%, 19.4%, 27.1%)
CIE-LABlab(46.41, 60.58, -23.15)
CIE-LCHlch(46.41, 64.85, 339.09°)
OKLaboklab(56.32% 0.1809 -0.0623)
OKLCHoklch(56.32% 0.191 341)
XYZxyz(27.2186, 15.5700, 30.4201)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3996 #39BA5D
analogous
#9D39BA #BA3996 #BA3956
triadic
#BA3996 #96BA39 #3996BA
tetradic
#BA3996 #BA9D39 #39BA5D #3956BA
square
#BA3996 #BA9D39 #39BA5D #3956BA
split-complementary
#BA3996 #56BA39 #39BA9D
monochromatic
#5C1C4A #8B2B70 #BA3996 #CF61B0 #DD90C8

Accessibility & contrast

On white

5.11
#BA3996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3996
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3996#FFFFFF#000000##FFFFFF
##BA39961.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3996;
/* rgb */ color: rgb(186, 57, 150);
/* oklch */ color: oklch(56.3% 0.191 341.0);
Tailwind
colors: {
  custom: {
    50: '#d27ab5',
    500: '#ba3996',
    950: '#000000',
  },
}
SCSS
$custom: #ba3996;
$custom-light: #d27ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3996",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 316.744,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.19133,
    "h": 341
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#BA3996
secondary
#87C899
accent
#DC744B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3996

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

Preview Lab → · Contrast checker → · Palette generator →

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