#BA3A94#BA3A94

#BA3A94 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.189 H 341.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA3A94
RGBrgb(186, 58, 148)
HSLhsl(318, 52%, 48%)
HSVhsv(318, 69%, 73%)
CMYKcmyk(0%, 68.8%, 20.4%, 27.1%)
CIE-LABlab(46.45, 59.93, -21.88)
CIE-LCHlch(46.45, 63.80, 339.95°)
OKLaboklab(56.33% 0.1794 -0.0587)
OKLCHoklch(56.33% 0.189 341.9)
XYZxyz(27.1089, 15.6060, 29.5958)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A94 #3ABA60
analogous
#A03ABA #BA3A94 #BA3A54
triadic
#BA3A94 #94BA3A #3A94BA
tetradic
#BA3A94 #BAA03A #3ABA60 #3A54BA
square
#BA3A94 #BAA03A #3ABA60 #3A54BA
split-complementary
#BA3A94 #54BA3A #3ABAA0
monochromatic
#5D1D4A #8B2B6F #BA3A94 #CE63AE #DD92C7

Accessibility & contrast

On white

5.10
#BA3A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA3A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A94
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A94#FFFFFF#000000##FFFFFF
##BA3A941.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#6C7691
Tritanopia (blue-blind)
#C53C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3a94;
/* rgb */ color: rgb(186, 58, 148);
/* oklch */ color: oklch(56.3% 0.189 341.9);
Tailwind
colors: {
  custom: {
    50: '#d27ab3',
    500: '#ba3a94',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a94;
$custom-light: #d27ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a94",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 317.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.18878,
    "h": 341.9
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#BA3A94
secondary
#88C89B
accent
#DC774C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A94

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

Preview Lab → · Contrast checker → · Palette generator →

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