#BA3388#BA3388

#BA3388 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.190 H 346.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA3388
RGBrgb(186, 51, 136)
HSLhsl(322, 57%, 46%)
HSVhsv(322, 73%, 73%)
CMYKcmyk(0%, 72.6%, 26.9%, 27.1%)
CIE-LABlab(45.06, 60.86, -16.76)
CIE-LCHlch(45.06, 63.13, 344.60°)
OKLaboklab(55.16% 0.1847 -0.0443)
OKLCHoklch(55.16% 0.19 346.5)
XYZxyz(25.8786, 14.5871, 24.7405)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3388 #33BA65
analogous
#A933BA #BA3388 #BA3345
triadic
#BA3388 #88BA33 #3388BA
tetradic
#BA3388 #BAA933 #33BA65 #3345BA
square
#BA3388 #BAA933 #33BA65 #3345BA
split-complementary
#BA3388 #45BA33 #33BAA9
monochromatic
#5A1942 #8A2665 #BA3388 #D159A5 #DF89BF

Accessibility & contrast

On white

5.36
#BA3388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA3388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3388
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3388#FFFFFF#000000##FFFFFF
##BA33881.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8A
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#C72F59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3388;
/* rgb */ color: rgb(186, 51, 136);
/* oklch */ color: oklch(55.2% 0.190 346.5);
Tailwind
colors: {
  custom: {
    50: '#d377aa',
    500: '#ba3388',
    950: '#000000',
  },
}
SCSS
$custom: #ba3388;
$custom-light: #d377aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3388",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 322.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.18999,
    "h": 346.5
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#BA3388
secondary
#80C99B
accent
#E08048
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA3388

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

Preview Lab → · Contrast checker → · Palette generator →

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