#BA3C84#BA3C84

#BA3C84 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.177 H 349.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA3C84
RGBrgb(186, 60, 132)
HSLhsl(326, 51%, 48%)
HSVhsv(326, 68%, 73%)
CMYKcmyk(0%, 67.7%, 29%, 27.1%)
CIE-LABlab(46.10, 57.05, -12.76)
CIE-LCHlch(46.10, 58.46, 347.39°)
OKLaboklab(55.86% 0.1735 -0.0334)
OKLCHoklch(55.86% 0.177 349.1)
XYZxyz(26.0316, 15.3396, 23.4152)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C84 #3CBA72
analogous
#B13CBA #BA3C84 #BA3C45
triadic
#BA3C84 #84BA3C #3C84BA
tetradic
#BA3C84 #BAB13C #3CBA72 #3C45BA
square
#BA3C84 #BAB13C #3CBA72 #3C45BA
split-complementary
#BA3C84 #45BA3C #3CBAB1
monochromatic
#5D1E42 #8C2D63 #BA3C84 #CE66A1 #DC94BD

Accessibility & contrast

On white

5.16
#BA3C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C84
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C84#FFFFFF#000000##FFFFFF
##BA3C841.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3c84;
/* rgb */ color: rgb(186, 60, 132);
/* oklch */ color: oklch(55.9% 0.177 349.1);
Tailwind
colors: {
  custom: {
    50: '#d37ba7',
    500: '#ba3c84',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c84;
$custom-light: #d37ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c84",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 325.714,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.1767,
    "h": 349.1
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#BA3C84
secondary
#8AC8A4
accent
#DB8A4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3C84

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

Preview Lab → · Contrast checker → · Palette generator →

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