#BA3196#BA3196

#BA3196 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.201 H 340.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3196
RGBrgb(186, 49, 150)
HSLhsl(316, 58%, 46%)
HSVhsv(316, 74%, 73%)
CMYKcmyk(0%, 73.7%, 19.4%, 27.1%)
CIE-LABlab(45.41, 63.37, -24.68)
CIE-LCHlch(45.41, 68.01, 338.72°)
OKLaboklab(55.6% 0.1894 -0.0665)
OKLCHoklch(55.6% 0.201 340.6)
XYZxyz(26.8538, 14.8404, 30.2985)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3196 #31BA55
analogous
#9931BA #BA3196 #BA3152
triadic
#BA3196 #96BA31 #3196BA
tetradic
#BA3196 #BA9931 #31BA55 #3152BA
square
#BA3196 #BA9931 #31BA55 #3152BA
split-complementary
#BA3196 #52BA31 #31BA99
monochromatic
#591748 #8A246F #BA3196 #D256B2 #DF86C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3196#FFFFFF#000000##FFFFFF
##BA31961.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)
#3C5D99
Deuteranopia (green-blind)
#687393
Tritanopia (blue-blind)
#C53560
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3196;
/* rgb */ color: rgb(186, 49, 150);
/* oklch */ color: oklch(55.6% 0.201 340.6);
Tailwind
colors: {
  custom: {
    50: '#d376b5',
    500: '#ba3196',
    950: '#000000',
  },
}
SCSS
$custom: #ba3196;
$custom-light: #d376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3196",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 315.766,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.20073,
    "h": 340.6
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#BA3196
secondary
#7EC992
accent
#E26F46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3196

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

Preview Lab → · Contrast checker → · Palette generator →

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