#BA3A91#BA3A91

#BA3A91 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.187 H 343.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA3A91
RGBrgb(186, 58, 145)
HSLhsl(319, 52%, 48%)
HSVhsv(319, 69%, 73%)
CMYKcmyk(0%, 68.8%, 22%, 27.1%)
CIE-LABlab(46.33, 59.52, -20.27)
CIE-LCHlch(46.33, 62.87, 341.20°)
OKLaboklab(56.2% 0.1789 -0.0542)
OKLCHoklch(56.2% 0.187 343.1)
XYZxyz(26.8745, 15.5122, 28.3614)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A91 #3ABA63
analogous
#A33ABA #BA3A91 #BA3A51
triadic
#BA3A91 #91BA3A #3A91BA
tetradic
#BA3A91 #BAA33A #3ABA63 #3A51BA
square
#BA3A91 #BAA33A #3ABA63 #3A51BA
split-complementary
#BA3A91 #51BA3A #3ABAA3
monochromatic
#5D1D48 #8B2B6D #BA3A91 #CE63AC #DD92C5

Accessibility & contrast

On white

5.12
#BA3A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA3A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A91
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A91#FFFFFF#000000##FFFFFF
##BA3A911.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#6D758E
Tritanopia (blue-blind)
#C63A60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3a91;
/* rgb */ color: rgb(186, 58, 145);
/* oklch */ color: oklch(56.2% 0.187 343.1);
Tailwind
colors: {
  custom: {
    50: '#d27ab1',
    500: '#ba3a91',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a91;
$custom-light: #d27ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a91",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 319.219,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.18687,
    "h": 343.1
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#BA3A91
secondary
#88C89C
accent
#DC7A4C
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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