#BA3394#BA3394

#BA3394 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.7% C 0.197 H 341.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3394
RGBrgb(186, 51, 148)
HSLhsl(317, 57%, 46%)
HSVhsv(317, 73%, 73%)
CMYKcmyk(0%, 72.6%, 20.4%, 27.1%)
CIE-LABlab(45.56, 62.43, -23.25)
CIE-LCHlch(45.56, 66.62, 339.57°)
OKLaboklab(55.68% 0.187 -0.0625)
OKLCHoklch(55.68% 0.197 341.5)
XYZxyz(26.7797, 14.9476, 29.4861)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3394 #33BA59
analogous
#9D33BA #BA3394 #BA3351
triadic
#BA3394 #94BA33 #3394BA
tetradic
#BA3394 #BA9D33 #33BA59 #3351BA
square
#BA3394 #BA9D33 #33BA59 #3351BA
split-complementary
#BA3394 #51BA33 #33BA9D
monochromatic
#5A1948 #8A266E #BA3394 #D159AF #DF89C6

Accessibility & contrast

On white

5.26
#BA3394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3394
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3394#FFFFFF#000000##FFFFFF
##BA33941.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E97
Deuteranopia (green-blind)
#697491
Tritanopia (blue-blind)
#C5355F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3394;
/* rgb */ color: rgb(186, 51, 148);
/* oklch */ color: oklch(55.7% 0.197 341.5);
Tailwind
colors: {
  custom: {
    50: '#d377b3',
    500: '#ba3394',
    950: '#000000',
  },
}
SCSS
$custom: #ba3394;
$custom-light: #d377b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3394",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 316.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.19721,
    "h": 341.5
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#BA3394
secondary
#80C995
accent
#E07348
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3394

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

Preview Lab → · Contrast checker → · Palette generator →

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