#BA5579#BA5579

#BA5579 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.6% C 0.135 H 359.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA5579
RGBrgb(186, 85, 121)
HSLhsl(339, 42%, 53%)
HSVhsv(339, 54%, 73%)
CMYKcmyk(0%, 54.3%, 34.9%, 27.1%)
CIE-LABlab(49.88, 44.51, -0.48)
CIE-LCHlch(49.88, 44.52, 359.38°)
OKLaboklab(58.55% 0.1354 -0.0007)
OKLCHoklch(58.55% 0.135 359.7)
XYZxyz(26.9507, 18.3192, 20.2021)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5579 #55BA96
analogous
#BA55AB #BA5579 #BA6355
triadic
#BA5579 #79BA55 #5579BA
tetradic
#BA5579 #ABBA55 #55BA96 #6355BA
square
#BA5579 #ABBA55 #55BA96 #6355BA
split-complementary
#BA5579 #55BA63 #55ABBA
monochromatic
#6A2B41 #953D5C #BA5579 #CC819B #DDACBE

Accessibility & contrast

On white

4.50
#BA5579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BA5579 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5579
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5579#FFFFFF#000000##000000
##BA55791.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7A
Deuteranopia (green-blind)
#807E77
Tritanopia (blue-blind)
#C84D62
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5579;
/* rgb */ color: rgb(186, 85, 121);
/* oklch */ color: oklch(58.6% 0.135 359.7);
Tailwind
colors: {
  custom: {
    50: '#d2889f',
    500: '#ba5579',
    950: '#000000',
  },
}
SCSS
$custom: #ba5579;
$custom-light: #d2889f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5579",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 121
  },
  "hsl": {
    "h": 338.614,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.13545,
    "h": 359.7
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#BA5579
secondary
#A0CBBC
accent
#D2A656
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5579

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

Preview Lab → · Contrast checker → · Palette generator →

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