#BA3A84#BA3A84

#BA3A84 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.179 H 348.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3A84
RGBrgb(186, 58, 132)
HSLhsl(325, 52%, 48%)
HSVhsv(325, 69%, 73%)
CMYKcmyk(0%, 68.8%, 29%, 27.1%)
CIE-LABlab(45.82, 57.83, -13.18)
CIE-LCHlch(45.82, 59.31, 347.16°)
OKLaboklab(55.66% 0.1759 -0.0345)
OKLCHoklch(55.66% 0.179 348.9)
XYZxyz(25.9288, 15.1340, 23.3810)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A84 #3ABA70
analogous
#B03ABA #BA3A84 #BA3A44
triadic
#BA3A84 #84BA3A #3A84BA
tetradic
#BA3A84 #BAB03A #3ABA70 #3A44BA
square
#BA3A84 #BAB03A #3ABA70 #3A44BA
split-complementary
#BA3A84 #44BA3A #3ABAB0
monochromatic
#5D1D42 #8B2B63 #BA3A84 #CE63A1 #DD92BD

Accessibility & contrast

On white

5.22
#BA3A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A84
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A84#FFFFFF#000000##FFFFFF
##BA3A841.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E86
Deuteranopia (green-blind)
#717581
Tritanopia (blue-blind)
#C7345A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3a84;
/* rgb */ color: rgb(186, 58, 132);
/* oklch */ color: oklch(55.7% 0.179 348.9);
Tailwind
colors: {
  custom: {
    50: '#d37aa7',
    500: '#ba3a84',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a84;
$custom-light: #d37aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a84",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 325.313,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.17928,
    "h": 348.9
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#BA3A84
secondary
#88C8A3
accent
#DC894C
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A84

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

Preview Lab → · Contrast checker → · Palette generator →

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