#BA3B91#BA3B91

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

Color values

HEX#BA3B91
RGBrgb(186, 59, 145)
HSLhsl(319, 52%, 48%)
HSVhsv(319, 68%, 73%)
CMYKcmyk(0%, 68.3%, 22%, 27.1%)
CIE-LABlab(46.46, 59.14, -20.06)
CIE-LCHlch(46.46, 62.45, 341.27°)
OKLaboklab(56.3% 0.1777 -0.0536)
OKLCHoklch(56.3% 0.186 343.2)
XYZxyz(26.9254, 15.6140, 28.3784)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B91 #3BBA64
analogous
#A33BBA #BA3B91 #BA3B51
triadic
#BA3B91 #91BA3B #3B91BA
tetradic
#BA3B91 #BAA33B #3BBA64 #3B51BA
square
#BA3B91 #BAA33B #3BBA64 #3B51BA
split-complementary
#BA3B91 #51BA3B #3BBAA3
monochromatic
#5D1E49 #8C2C6D #BA3B91 #CE64AC #DD93C5

Accessibility & contrast

On white

5.09
#BA3B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3B91
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B91#FFFFFF#000000##FFFFFF
##BA3B911.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#C63B61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b91;
/* rgb */ color: rgb(186, 59, 145);
/* oklch */ color: oklch(56.3% 0.186 343.2);
Tailwind
colors: {
  custom: {
    50: '#d27bb1',
    500: '#ba3b91',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b91;
$custom-light: #d27bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b91",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 319.37,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.1856,
    "h": 343.2
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#BA3B91
secondary
#89C89D
accent
#DB7B4D
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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