#BA4386#BA4386

#BA4386 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.168 H 349.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4386
RGBrgb(186, 67, 134)
HSLhsl(326, 47%, 50%)
HSVhsv(326, 64%, 73%)
CMYKcmyk(0%, 64%, 28%, 27.1%)
CIE-LABlab(47.21, 54.45, -12.29)
CIE-LCHlch(47.21, 55.82, 347.28°)
OKLaboklab(56.7% 0.1652 -0.0322)
OKLCHoklch(56.7% 0.168 349)
XYZxyz(26.5611, 16.1774, 24.2734)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4386 #43BA77
analogous
#B343BA #BA4386 #BA434B
triadic
#BA4386 #86BA43 #4386BA
tetradic
#BA4386 #BAB343 #43BA77 #434BBA
square
#BA4386 #BAB343 #43BA77 #434BBA
split-complementary
#BA4386 #4BBA43 #43BAB3
monochromatic
#602345 #8D3366 #BA4386 #CB6FA3 #DB9CC0

Accessibility & contrast

On white

4.96
#BA4386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA4386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4386
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4386#FFFFFF#000000##FFFFFF
##BA43861.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526388
Deuteranopia (green-blind)
#747883
Tritanopia (blue-blind)
#C73E5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4386;
/* rgb */ color: rgb(186, 67, 134);
/* oklch */ color: oklch(56.7% 0.168 349.0);
Tailwind
colors: {
  custom: {
    50: '#d27ea9',
    500: '#ba4386',
    950: '#000000',
  },
}
SCSS
$custom: #ba4386;
$custom-light: #d27ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4386",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 326.218,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.16829,
    "h": 349
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#BA4386
secondary
#91C8A9
accent
#D78B51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4386

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

Preview Lab → · Contrast checker → · Palette generator →

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