#BA3B84#BA3B84

#BA3B84 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.178 H 349.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA3B84
RGBrgb(186, 59, 132)
HSLhsl(326, 52%, 48%)
HSVhsv(326, 68%, 73%)
CMYKcmyk(0%, 68.3%, 29%, 27.1%)
CIE-LABlab(45.96, 57.44, -12.97)
CIE-LCHlch(45.96, 58.89, 347.27°)
OKLaboklab(55.76% 0.1747 -0.034)
OKLCHoklch(55.76% 0.178 349)
XYZxyz(25.9797, 15.2358, 23.3979)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B84 #3BBA71
analogous
#B03BBA #BA3B84 #BA3B44
triadic
#BA3B84 #84BA3B #3B84BA
tetradic
#BA3B84 #BAB03B #3BBA71 #3B44BA
square
#BA3B84 #BAB03B #3BBA71 #3B44BA
split-complementary
#BA3B84 #44BA3B #3BBAB0
monochromatic
#5D1E42 #8C2C63 #BA3B84 #CE64A1 #DD93BD

Accessibility & contrast

On white

5.19
#BA3B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B84
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B84#FFFFFF#000000##FFFFFF
##BA3B841.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F86
Deuteranopia (green-blind)
#717581
Tritanopia (blue-blind)
#C7365A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b84;
/* rgb */ color: rgb(186, 59, 132);
/* oklch */ color: oklch(55.8% 0.178 349.0);
Tailwind
colors: {
  custom: {
    50: '#d37aa7',
    500: '#ba3b84',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b84;
$custom-light: #d37aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b84",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 325.512,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.17799,
    "h": 349
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#BA3B84
secondary
#89C8A4
accent
#DB894D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3B84

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

Preview Lab → · Contrast checker → · Palette generator →

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