#BA3688#BA3688

#BA3688 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.186 H 346.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3688
RGBrgb(186, 54, 136)
HSLhsl(323, 55%, 47%)
HSVhsv(323, 71%, 73%)
CMYKcmyk(0%, 71%, 26.9%, 27.1%)
CIE-LABlab(45.44, 59.81, -16.19)
CIE-LCHlch(45.44, 61.96, 344.86°)
OKLaboklab(55.43% 0.1815 -0.0428)
OKLCHoklch(55.43% 0.186 346.7)
XYZxyz(26.0139, 14.8578, 24.7856)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3688 #36BA68
analogous
#AA36BA #BA3688 #BA3646
triadic
#BA3688 #88BA36 #3688BA
tetradic
#BA3688 #BAAA36 #36BA68 #3646BA
square
#BA3688 #BAAA36 #36BA68 #3646BA
split-complementary
#BA3688 #46BA36 #36BAAA
monochromatic
#5B1A43 #8B2865 #BA3688 #D05DA5 #DE8DBF

Accessibility & contrast

On white

5.29
#BA3688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3688
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3688#FFFFFF#000000##FFFFFF
##BA36881.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D8A
Deuteranopia (green-blind)
#6E7485
Tritanopia (blue-blind)
#C7325A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3688;
/* rgb */ color: rgb(186, 54, 136);
/* oklch */ color: oklch(55.4% 0.186 346.7);
Tailwind
colors: {
  custom: {
    50: '#d378aa',
    500: '#ba3688',
    950: '#000000',
  },
}
SCSS
$custom: #ba3688;
$custom-light: #d378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3688",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 322.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.18646,
    "h": 346.7
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#BA3688
secondary
#84C89E
accent
#DE8249
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3688

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

Preview Lab → · Contrast checker → · Palette generator →

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