#BA3886#BA3886

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

Color values

HEX#BA3886
RGBrgb(186, 56, 134)
HSLhsl(324, 54%, 47%)
HSVhsv(324, 70%, 73%)
CMYKcmyk(0%, 69.9%, 28%, 27.1%)
CIE-LABlab(45.62, 58.83, -14.69)
CIE-LCHlch(45.62, 60.64, 345.98°)
OKLaboklab(55.54% 0.1788 -0.0387)
OKLCHoklch(55.54% 0.183 347.8)
XYZxyz(25.9681, 14.9915, 24.0757)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3886 #38BA6C
analogous
#AD38BA #BA3886 #BA3845
triadic
#BA3886 #86BA38 #3886BA
tetradic
#BA3886 #BAAD38 #38BA6C #3845BA
square
#BA3886 #BAAD38 #38BA6C #3845BA
split-complementary
#BA3886 #45BA38 #38BAAD
monochromatic
#5C1C42 #8B2A64 #BA3886 #CF60A3 #DD8FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3886#FFFFFF#000000##FFFFFF
##BA38861.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)
#4A5E88
Deuteranopia (green-blind)
#6F7483
Tritanopia (blue-blind)
#C7335A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3886;
/* rgb */ color: rgb(186, 56, 134);
/* oklch */ color: oklch(55.5% 0.183 347.8);
Tailwind
colors: {
  custom: {
    50: '#d379a9',
    500: '#ba3886',
    950: '#000000',
  },
}
SCSS
$custom: #ba3886;
$custom-light: #d379a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3886",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 324,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.18289,
    "h": 347.8
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#BA3886
secondary
#86C8A0
accent
#DD854B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3886

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

Preview Lab → · Contrast checker → · Palette generator →

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