#BA3891#BA3891

#BA3891 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.189 H 343.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA3891
RGBrgb(186, 56, 145)
HSLhsl(319, 54%, 47%)
HSVhsv(319, 70%, 73%)
CMYKcmyk(0%, 69.9%, 22%, 27.1%)
CIE-LABlab(46.06, 60.26, -20.68)
CIE-LCHlch(46.06, 63.71, 341.06°)
OKLaboklab(56% 0.1811 -0.0553)
OKLCHoklch(56% 0.189 343)
XYZxyz(26.7756, 15.3145, 28.3284)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3891 #38BA61
analogous
#A238BA #BA3891 #BA3850
triadic
#BA3891 #91BA38 #3891BA
tetradic
#BA3891 #BAA238 #38BA61 #3850BA
square
#BA3891 #BAA238 #38BA61 #3850BA
split-complementary
#BA3891 #50BA38 #38BAA2
monochromatic
#5C1C48 #8B2A6C #BA3891 #CF60AC #DD8FC5

Accessibility & contrast

On white

5.17
#BA3891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3891
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3891#FFFFFF#000000##FFFFFF
##BA38911.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F94
Deuteranopia (green-blind)
#6C758E
Tritanopia (blue-blind)
#C63860
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3891;
/* rgb */ color: rgb(186, 56, 145);
/* oklch */ color: oklch(56.0% 0.189 343.0);
Tailwind
colors: {
  custom: {
    50: '#d379b1',
    500: '#ba3891',
    950: '#000000',
  },
}
SCSS
$custom: #ba3891;
$custom-light: #d379b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3891",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 318.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.18937,
    "h": 343
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#BA3891
secondary
#86C89B
accent
#DD794B
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3891

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

Preview Lab → · Contrast checker → · Palette generator →

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