#BA3A8D#BA3A8D

#BA3A8D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.184 H 344.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3A8D
RGBrgb(186, 58, 141)
HSLhsl(321, 52%, 48%)
HSVhsv(321, 69%, 73%)
CMYKcmyk(0%, 68.8%, 24.2%, 27.1%)
CIE-LABlab(46.17, 58.98, -18.10)
CIE-LCHlch(46.17, 61.70, 342.94°)
OKLaboklab(56.02% 0.178 -0.0481)
OKLCHoklch(56.02% 0.184 344.9)
XYZxyz(26.5715, 15.3910, 26.7655)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A8D #3ABA67
analogous
#A73ABA #BA3A8D #BA3A4D
triadic
#BA3A8D #8DBA3A #3A8DBA
tetradic
#BA3A8D #BAA73A #3ABA67 #3A4DBA
square
#BA3A8D #BAA73A #3ABA67 #3A4DBA
split-complementary
#BA3A8D #4DBA3A #3ABAA7
monochromatic
#5D1D46 #8B2B6A #BA3A8D #CE63A9 #DD92C2

Accessibility & contrast

On white

5.15
#BA3A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A8D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A8D#FFFFFF#000000##FFFFFF
##BA3A8D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#6E758A
Tritanopia (blue-blind)
#C6385E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a8d;
/* rgb */ color: rgb(186, 58, 141);
/* oklch */ color: oklch(56.0% 0.184 344.9);
Tailwind
colors: {
  custom: {
    50: '#d37aae',
    500: '#ba3a8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a8d;
$custom-light: #d37aae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a8d",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 321.094,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.18441,
    "h": 344.9
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#BA3A8D
secondary
#88C89E
accent
#DC7F4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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