#BA3B95#BA3B95

#BA3B95 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.188 H 341.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA3B95
RGBrgb(186, 59, 149)
HSLhsl(317, 52%, 48%)
HSVhsv(317, 68%, 73%)
CMYKcmyk(0%, 68.3%, 19.9%, 27.1%)
CIE-LABlab(46.63, 59.69, -22.20)
CIE-LCHlch(46.63, 63.69, 339.60°)
OKLaboklab(56.47% 0.1785 -0.0596)
OKLCHoklch(56.47% 0.188 341.5)
XYZxyz(27.2393, 15.7396, 30.0314)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B95 #3BBA60
analogous
#9F3BBA #BA3B95 #BA3B56
triadic
#BA3B95 #95BA3B #3B95BA
tetradic
#BA3B95 #BA9F3B #3BBA60 #3B56BA
square
#BA3B95 #BA9F3B #3BBA60 #3B56BA
split-complementary
#BA3B95 #56BA3B #3BBA9F
monochromatic
#5D1E4B #8C2C70 #BA3B95 #CE64AF #DD93C7

Accessibility & contrast

On white

5.06
#BA3B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B95
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B95#FFFFFF#000000##FFFFFF
##BA3B951.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456198
Deuteranopia (green-blind)
#6C7692
Tritanopia (blue-blind)
#C53D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b95;
/* rgb */ color: rgb(186, 59, 149);
/* oklch */ color: oklch(56.5% 0.188 341.5);
Tailwind
colors: {
  custom: {
    50: '#d27bb4',
    500: '#ba3b95',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b95;
$custom-light: #d27bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b95",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 317.48,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.18815,
    "h": 341.5
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#BA3B95
secondary
#89C89B
accent
#DB764D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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