#BA3191#BA3191

#BA3191 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.198 H 342.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA3191
RGBrgb(186, 49, 145)
HSLhsl(318, 58%, 46%)
HSVhsv(318, 74%, 73%)
CMYKcmyk(0%, 73.7%, 22%, 27.1%)
CIE-LABlab(45.20, 62.70, -22.01)
CIE-LCHlch(45.20, 66.45, 340.66°)
OKLaboklab(55.37% 0.1886 -0.059)
OKLCHoklch(55.37% 0.198 342.6)
XYZxyz(26.4598, 14.6828, 28.2232)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3191 #31BA5A
analogous
#9E31BA #BA3191 #BA314C
triadic
#BA3191 #91BA31 #3191BA
tetradic
#BA3191 #BA9E31 #31BA5A #314CBA
square
#BA3191 #BA9E31 #31BA5A #314CBA
split-complementary
#BA3191 #4CBA31 #31BA9E
monochromatic
#591745 #8A246B #BA3191 #D256AD #DF86C5

Accessibility & contrast

On white

5.34
#BA3191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA3191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3191
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3191#FFFFFF#000000##FFFFFF
##BA31911.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#69738E
Tritanopia (blue-blind)
#C6325D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3191;
/* rgb */ color: rgb(186, 49, 145);
/* oklch */ color: oklch(55.4% 0.198 342.6);
Tailwind
colors: {
  custom: {
    50: '#d376b1',
    500: '#ba3191',
    950: '#000000',
  },
}
SCSS
$custom: #ba3191;
$custom-light: #d376b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3191",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 317.956,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.19759,
    "h": 342.6
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#BA3191
secondary
#7EC994
accent
#E27546
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA3191

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

Preview Lab → · Contrast checker → · Palette generator →

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