#BA3687#BA3687

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

Color values

HEX#BA3687
RGBrgb(186, 54, 135)
HSLhsl(323, 55%, 47%)
HSVhsv(323, 71%, 73%)
CMYKcmyk(0%, 71%, 27.4%, 27.1%)
CIE-LABlab(45.40, 59.68, -15.64)
CIE-LCHlch(45.40, 61.70, 345.32°)
OKLaboklab(55.39% 0.1813 -0.0413)
OKLCHoklch(55.39% 0.186 347.2)
XYZxyz(25.9432, 14.8295, 24.4131)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3687 #36BA69
analogous
#AB36BA #BA3687 #BA3645
triadic
#BA3687 #87BA36 #3687BA
tetradic
#BA3687 #BAAB36 #36BA69 #3645BA
square
#BA3687 #BAAB36 #36BA69 #3645BA
split-complementary
#BA3687 #45BA36 #36BAAB
monochromatic
#5B1A42 #8B2865 #BA3687 #D05DA4 #DE8DBE

Accessibility & contrast

On white

5.30
#BA3687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3687
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3687#FFFFFF#000000##FFFFFF
##BA36871.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#6E7484
Tritanopia (blue-blind)
#C7325A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3687;
/* rgb */ color: rgb(186, 54, 135);
/* oklch */ color: oklch(55.4% 0.186 347.2);
Tailwind
colors: {
  custom: {
    50: '#d378aa',
    500: '#ba3687',
    950: '#000000',
  },
}
SCSS
$custom: #ba3687;
$custom-light: #d378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3687",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 323.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.18589,
    "h": 347.2
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3687

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

Preview Lab → · Contrast checker → · Palette generator →

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