#BA3B82#BA3B82

#BA3B82 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.177 H 349.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3B82
RGBrgb(186, 59, 130)
HSLhsl(326, 52%, 48%)
HSVhsv(326, 68%, 73%)
CMYKcmyk(0%, 68.3%, 30.1%, 27.1%)
CIE-LABlab(45.88, 57.19, -11.87)
CIE-LCHlch(45.88, 58.41, 348.27°)
OKLaboklab(55.68% 0.1742 -0.031)
OKLCHoklch(55.68% 0.177 349.9)
XYZxyz(25.8442, 15.1816, 22.6841)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B82 #3BBA73
analogous
#B33BBA #BA3B82 #BA3B42
triadic
#BA3B82 #82BA3B #3B82BA
tetradic
#BA3B82 #BAB33B #3BBA73 #3B42BA
square
#BA3B82 #BAB33B #3BBA73 #3B42BA
split-complementary
#BA3B82 #42BA3B #3BBAB3
monochromatic
#5D1E41 #8C2C62 #BA3B82 #CE649F #DD93BC

Accessibility & contrast

On white

5.20
#BA3B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B82
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B82#FFFFFF#000000##FFFFFF
##BA3B821.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#72757F
Tritanopia (blue-blind)
#C73559
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b82;
/* rgb */ color: rgb(186, 59, 130);
/* oklch */ color: oklch(55.7% 0.177 349.9);
Tailwind
colors: {
  custom: {
    50: '#d37aa6',
    500: '#ba3b82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b82;
$custom-light: #d37aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b82",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 326.457,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.17693,
    "h": 349.9
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#BA3B82
secondary
#89C8A5
accent
#DB8B4D
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3B82

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

Preview Lab → · Contrast checker → · Palette generator →

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