#BA5586#BA5586

#BA5586 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.141 H 352.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA5586
RGBrgb(186, 85, 134)
HSLhsl(331, 42%, 53%)
HSVhsv(331, 54%, 73%)
CMYKcmyk(0%, 54.3%, 28%, 27.1%)
CIE-LABlab(50.29, 46.19, -7.67)
CIE-LCHlch(50.29, 46.82, 350.57°)
OKLaboklab(58.99% 0.1398 -0.0198)
OKLCHoklch(58.99% 0.141 352)
XYZxyz(27.8023, 18.6599, 24.6871)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5586 #55BA89
analogous
#BA55B8 #BA5586 #BA5655
triadic
#BA5586 #86BA55 #5586BA
tetradic
#BA5586 #B8BA55 #55BA89 #5655BA
square
#BA5586 #B8BA55 #55BA89 #5655BA
split-complementary
#BA5586 #55BA56 #55B8BA
monochromatic
#6A2B49 #953D68 #BA5586 #CC81A5 #DDACC4

Accessibility & contrast

On white

4.44
#BA5586 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA5586 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5586
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5586#FFFFFF#000000##000000
##BA55861.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626C88
Deuteranopia (green-blind)
#7D7E84
Tritanopia (blue-blind)
#C65068
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5586;
/* rgb */ color: rgb(186, 85, 134);
/* oklch */ color: oklch(59.0% 0.141 352.0);
Tailwind
colors: {
  custom: {
    50: '#d289a9',
    500: '#ba5586',
    950: '#000000',
  },
}
SCSS
$custom: #ba5586;
$custom-light: #d289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5586",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 134
  },
  "hsl": {
    "h": 330.891,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.14117,
    "h": 352
  },
  "luminance": 0.18657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5586

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

Preview Lab → · Contrast checker → · Palette generator →

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