#BA5986#BA5986

#BA5986 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.6% C 0.135 H 352.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA5986
RGBrgb(186, 89, 134)
HSLhsl(332, 41%, 54%)
HSVhsv(332, 52%, 73%)
CMYKcmyk(0%, 52.2%, 28%, 27.1%)
CIE-LABlab(51.05, 44.20, -6.54)
CIE-LCHlch(51.05, 44.68, 351.59°)
OKLaboklab(59.56% 0.1337 -0.0167)
OKLCHoklch(59.56% 0.135 352.9)
XYZxyz(28.1262, 19.3076, 24.7951)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5986 #59BA8D
analogous
#BA59B7 #BA5986 #BA5D59
triadic
#BA5986 #86BA59 #5986BA
tetradic
#BA5986 #B7BA59 #59BA8D #5D59BA
square
#BA5986 #B7BA59 #59BA8D #5D59BA
split-complementary
#BA5986 #59BA5D #59B7BA
monochromatic
#6C2D4A #973F68 #BA5986 #CC84A6 #DEAFC5

Accessibility & contrast

On white

4.32
#BA5986 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA5986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5986
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5986#FFFFFF#000000##000000
##BA59861.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F87
Deuteranopia (green-blind)
#7F8084
Tritanopia (blue-blind)
#C6546A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba5986;
/* rgb */ color: rgb(186, 89, 134);
/* oklch */ color: oklch(59.6% 0.135 352.9);
Tailwind
colors: {
  custom: {
    50: '#d18ba9',
    500: '#ba5986',
    950: '#000000',
  },
}
SCSS
$custom: #ba5986;
$custom-light: #d18ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5986",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 332.165,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.13476,
    "h": 352.9
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#BA5986
secondary
#A3CCB9
accent
#D19857
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5986

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

Preview Lab → · Contrast checker → · Palette generator →

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