#BA5686#BA5686

#BA5686 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.1% C 0.140 H 352.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA5686
RGBrgb(186, 86, 134)
HSLhsl(331, 42%, 53%)
HSVhsv(331, 54%, 73%)
CMYKcmyk(0%, 53.8%, 28%, 27.1%)
CIE-LABlab(50.47, 45.70, -7.39)
CIE-LCHlch(50.47, 46.29, 350.82°)
OKLaboklab(59.13% 0.1383 -0.019)
OKLCHoklch(59.13% 0.14 352.2)
XYZxyz(27.8816, 18.8184, 24.7135)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5686 #56BA8A
analogous
#BA56B8 #BA5686 #BA5856
triadic
#BA5686 #86BA56 #5686BA
tetradic
#BA5686 #B8BA56 #56BA8A #5856BA
square
#BA5686 #B8BA56 #56BA8A #5856BA
split-complementary
#BA5686 #56BA58 #56B8BA
monochromatic
#6A2B4A #963D68 #BA5686 #CC81A5 #DDADC4

Accessibility & contrast

On white

4.41
#BA5686 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA5686 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5686
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5686#FFFFFF#000000##000000
##BA56861.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636D88
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#C65168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5686;
/* rgb */ color: rgb(186, 86, 134);
/* oklch */ color: oklch(59.1% 0.140 352.2);
Tailwind
colors: {
  custom: {
    50: '#d289a9',
    500: '#ba5686',
    950: '#000000',
  },
}
SCSS
$custom: #ba5686;
$custom-light: #d289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5686",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 331.2,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.13958,
    "h": 352.2
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#BA5686
secondary
#A0CBB7
accent
#D29656
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5686

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

Preview Lab → · Contrast checker → · Palette generator →

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