#BA3391#BA3391

#BA3391 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.195 H 342.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3391
RGBrgb(186, 51, 145)
HSLhsl(318, 57%, 46%)
HSVhsv(318, 73%, 73%)
CMYKcmyk(0%, 72.6%, 22%, 27.1%)
CIE-LABlab(45.43, 62.03, -21.64)
CIE-LCHlch(45.43, 65.70, 340.76°)
OKLaboklab(55.55% 0.1865 -0.058)
OKLCHoklch(55.55% 0.195 342.7)
XYZxyz(26.5453, 14.8538, 28.2517)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3391 #33BA5C
analogous
#A033BA #BA3391 #BA334E
triadic
#BA3391 #91BA33 #3391BA
tetradic
#BA3391 #BAA033 #33BA5C #334EBA
square
#BA3391 #BAA033 #33BA5C #334EBA
split-complementary
#BA3391 #4EBA33 #33BAA0
monochromatic
#5A1946 #8A266C #BA3391 #D159AD #DF89C5

Accessibility & contrast

On white

5.29
#BA3391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3391
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3391#FFFFFF#000000##FFFFFF
##BA33911.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#C6345E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3391;
/* rgb */ color: rgb(186, 51, 145);
/* oklch */ color: oklch(55.5% 0.195 342.7);
Tailwind
colors: {
  custom: {
    50: '#d377b1',
    500: '#ba3391',
    950: '#000000',
  },
}
SCSS
$custom: #ba3391;
$custom-light: #d377b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3391",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 318.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.19533,
    "h": 342.7
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#BA3391
secondary
#80C996
accent
#E07648
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3391

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

Preview Lab → · Contrast checker → · Palette generator →

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