#BA3396#BA3396

#BA3396 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.8% C 0.198 H 340.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA3396
RGBrgb(186, 51, 150)
HSLhsl(316, 57%, 46%)
HSVhsv(316, 73%, 73%)
CMYKcmyk(0%, 72.6%, 19.4%, 27.1%)
CIE-LABlab(45.65, 62.71, -24.32)
CIE-LCHlch(45.65, 67.26, 338.80°)
OKLaboklab(55.77% 0.1874 -0.0655)
OKLCHoklch(55.77% 0.198 340.7)
XYZxyz(26.9393, 15.0114, 30.3270)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3396 #33BA57
analogous
#9B33BA #BA3396 #BA3353
triadic
#BA3396 #96BA33 #3396BA
tetradic
#BA3396 #BA9B33 #33BA57 #3353BA
square
#BA3396 #BA9B33 #33BA57 #3353BA
split-complementary
#BA3396 #53BA33 #33BA9B
monochromatic
#5A1949 #8A266F #BA3396 #D159B1 #DF89C8

Accessibility & contrast

On white

5.25
#BA3396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3396
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3396#FFFFFF#000000##FFFFFF
##BA33961.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#687493
Tritanopia (blue-blind)
#C53660
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3396;
/* rgb */ color: rgb(186, 51, 150);
/* oklch */ color: oklch(55.8% 0.198 340.7);
Tailwind
colors: {
  custom: {
    50: '#d377b5',
    500: '#ba3396',
    950: '#000000',
  },
}
SCSS
$custom: #ba3396;
$custom-light: #d377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3396",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 316,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.19849,
    "h": 340.7
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#BA3396
secondary
#80C994
accent
#E07048
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3396

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

Preview Lab → · Contrast checker → · Palette generator →

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