#BA3486#BA3486

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

Color values

HEX#BA3486
RGBrgb(186, 52, 134)
HSLhsl(323, 56%, 47%)
HSVhsv(323, 72%, 73%)
CMYKcmyk(0%, 72%, 28%, 27.1%)
CIE-LABlab(45.11, 60.27, -15.48)
CIE-LCHlch(45.11, 62.22, 345.60°)
OKLaboklab(55.16% 0.1832 -0.0408)
OKLCHoklch(55.16% 0.188 347.4)
XYZxyz(25.7820, 14.6191, 24.0137)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3486 #34BA68
analogous
#AB34BA #BA3486 #BA3443
triadic
#BA3486 #86BA34 #3486BA
tetradic
#BA3486 #BAAB34 #34BA68 #3443BA
square
#BA3486 #BAAB34 #34BA68 #3443BA
split-complementary
#BA3486 #43BA34 #34BAAB
monochromatic
#5A1941 #8A2764 #BA3486 #D15AA3 #DE8ABE

Accessibility & contrast

On white

5.35
#BA3486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3486
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3486#FFFFFF#000000##FFFFFF
##BA34861.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C88
Deuteranopia (green-blind)
#6E7383
Tritanopia (blue-blind)
#C72F58
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3486;
/* rgb */ color: rgb(186, 52, 134);
/* oklch */ color: oklch(55.2% 0.188 347.4);
Tailwind
colors: {
  custom: {
    50: '#d377a9',
    500: '#ba3486',
    950: '#000000',
  },
}
SCSS
$custom: #ba3486;
$custom-light: #d377a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3486",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 323.284,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.18771,
    "h": 347.4
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#BA3486
secondary
#81C89D
accent
#E08348
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3486

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

Preview Lab → · Contrast checker → · Palette generator →

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