#BA3D96#BA3D96

#BA3D96 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.7% C 0.186 H 341.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA3D96
RGBrgb(186, 61, 150)
HSLhsl(317, 51%, 48%)
HSVhsv(317, 67%, 73%)
CMYKcmyk(0%, 67.2%, 19.4%, 27.1%)
CIE-LABlab(46.95, 59.06, -22.31)
CIE-LCHlch(46.95, 63.13, 339.31°)
OKLaboklab(56.72% 0.1763 -0.0599)
OKLCHoklch(56.72% 0.186 341.2)
XYZxyz(27.4242, 15.9812, 30.4886)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D96 #3DBA61
analogous
#9F3DBA #BA3D96 #BA3D57
triadic
#BA3D96 #96BA3D #3D96BA
tetradic
#BA3D96 #BA9F3D #3DBA61 #3D57BA
square
#BA3D96 #BA9F3D #3DBA61 #3D57BA
split-complementary
#BA3D96 #57BA3D #3DBA9F
monochromatic
#5E1F4C #8C2E71 #BA3D96 #CD67B0 #DC95C8

Accessibility & contrast

On white

5.01
#BA3D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D96
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D96#FFFFFF#000000##FFFFFF
##BA3D961.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466299
Deuteranopia (green-blind)
#6C7793
Tritanopia (blue-blind)
#C53F64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d96;
/* rgb */ color: rgb(186, 61, 150);
/* oklch */ color: oklch(56.7% 0.186 341.2);
Tailwind
colors: {
  custom: {
    50: '#d27cb5',
    500: '#ba3d96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d96;
$custom-light: #d27cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d96",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 317.28,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.18622,
    "h": 341.2
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#BA3D96
secondary
#8BC89D
accent
#DA764E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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