#BA5486#BA5486

#BA5486 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.8% C 0.143 H 351.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5486
RGBrgb(186, 84, 134)
HSLhsl(331, 43%, 53%)
HSVhsv(331, 55%, 73%)
CMYKcmyk(0%, 54.8%, 28%, 27.1%)
CIE-LABlab(50.10, 46.68, -7.94)
CIE-LCHlch(50.10, 47.35, 350.34°)
OKLaboklab(58.85% 0.1413 -0.0205)
OKLCHoklch(58.85% 0.143 351.7)
XYZxyz(27.7242, 18.5035, 24.6611)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5486 #54BA88
analogous
#BA54B9 #BA5486 #BA5554
triadic
#BA5486 #86BA54 #5486BA
tetradic
#BA5486 #B9BA54 #54BA88 #5554BA
square
#BA5486 #B9BA54 #54BA88 #5554BA
split-complementary
#BA5486 #54BA55 #54B9BA
monochromatic
#692A49 #953C68 #BA5486 #CC80A5 #DDABC4

Accessibility & contrast

On white

4.47
#BA5486 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA5486 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5486
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5486#FFFFFF#000000##000000
##BA54861.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C88
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#C65067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5486;
/* rgb */ color: rgb(186, 84, 134);
/* oklch */ color: oklch(58.8% 0.143 351.7);
Tailwind
colors: {
  custom: {
    50: '#d288a9',
    500: '#ba5486',
    950: '#000000',
  },
}
SCSS
$custom: #ba5486;
$custom-light: #d288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5486",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 330.588,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.14276,
    "h": 351.7
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#BA5486
secondary
#9FCBB5
accent
#D29556
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5486

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

Preview Lab → · Contrast checker → · Palette generator →

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