#BA3C96#BA3C96

#BA3C96 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.6% C 0.188 H 341.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA3C96
RGBrgb(186, 60, 150)
HSLhsl(317, 51%, 48%)
HSVhsv(317, 68%, 73%)
CMYKcmyk(0%, 67.7%, 19.4%, 27.1%)
CIE-LABlab(46.81, 59.45, -22.53)
CIE-LCHlch(46.81, 63.57, 339.25°)
OKLaboklab(56.62% 0.1775 -0.0605)
OKLCHoklch(56.62% 0.188 341.2)
XYZxyz(27.3713, 15.8754, 30.4710)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C96 #3CBA60
analogous
#9F3CBA #BA3C96 #BA3C57
triadic
#BA3C96 #96BA3C #3C96BA
tetradic
#BA3C96 #BA9F3C #3CBA60 #3C57BA
square
#BA3C96 #BA9F3C #3CBA60 #3C57BA
split-complementary
#BA3C96 #57BA3C #3CBA9F
monochromatic
#5D1E4B #8C2D71 #BA3C96 #CE66B0 #DC94C8

Accessibility & contrast

On white

5.03
#BA3C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA3C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C96
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C96#FFFFFF#000000##FFFFFF
##BA3C961.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#6C7693
Tritanopia (blue-blind)
#C53E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3c96;
/* rgb */ color: rgb(186, 60, 150);
/* oklch */ color: oklch(56.6% 0.188 341.2);
Tailwind
colors: {
  custom: {
    50: '#d27bb5',
    500: '#ba3c96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c96;
$custom-light: #d27bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c96",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 317.143,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.18752,
    "h": 341.2
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#BA3C96
secondary
#8AC89C
accent
#DB764D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3C96

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

Preview Lab → · Contrast checker → · Palette generator →

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