#BA3C82#BA3C82

#BA3C82 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.176 H 350.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3C82
RGBrgb(186, 60, 130)
HSLhsl(327, 51%, 48%)
HSVhsv(327, 68%, 73%)
CMYKcmyk(0%, 67.7%, 30.1%, 27.1%)
CIE-LABlab(46.02, 56.80, -11.66)
CIE-LCHlch(46.02, 57.99, 348.40°)
OKLaboklab(55.78% 0.173 -0.0304)
OKLCHoklch(55.78% 0.176 350)
XYZxyz(25.8961, 15.2853, 22.7014)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C82 #3CBA74
analogous
#B33CBA #BA3C82 #BA3C43
triadic
#BA3C82 #82BA3C #3C82BA
tetradic
#BA3C82 #BAB33C #3CBA74 #3C43BA
square
#BA3C82 #BAB33C #3CBA74 #3C43BA
split-complementary
#BA3C82 #43BA3C #3CBAB3
monochromatic
#5D1E41 #8C2D62 #BA3C82 #CE669F #DC94BC

Accessibility & contrast

On white

5.18
#BA3C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C82
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C82#FFFFFF#000000##FFFFFF
##BA3C821.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3c82;
/* rgb */ color: rgb(186, 60, 130);
/* oklch */ color: oklch(55.8% 0.176 350.0);
Tailwind
colors: {
  custom: {
    50: '#d37ba6',
    500: '#ba3c82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c82;
$custom-light: #d37ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c82",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 326.667,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.17564,
    "h": 350
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#BA3C82
secondary
#8AC8A5
accent
#DB8C4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3C82

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

Preview Lab → · Contrast checker → · Palette generator →

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