#BA579D#BA579D

#BA579D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.152 H 339.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA579D
RGBrgb(186, 87, 157)
HSLhsl(318, 42%, 54%)
HSVhsv(318, 53%, 73%)
CMYKcmyk(0%, 53.2%, 15.6%, 27.1%)
CIE-LABlab(51.49, 48.57, -19.50)
CIE-LCHlch(51.49, 52.34, 338.13°)
OKLaboklab(60.16% 0.1432 -0.0523)
OKLCHoklch(60.16% 0.152 339.9)
XYZxyz(29.7441, 19.6921, 34.1261)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA579D #57BA74
analogous
#A557BA #BA579D #BA576B
triadic
#BA579D #9DBA57 #579DBA
tetradic
#BA579D #BAA557 #57BA74 #576BBA
square
#BA579D #BAA557 #57BA74 #576BBA
split-complementary
#BA579D #6BBA57 #57BAA5
monochromatic
#6B2C58 #963E7C #BA579D #CC82B6 #DEAED0

Accessibility & contrast

On white

4.25
#BA579D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BA579D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA579D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA579D#FFFFFF#000000##000000
##BA579D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C719F
Deuteranopia (green-blind)
#77809A
Tritanopia (blue-blind)
#C45973
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba579d;
/* rgb */ color: rgb(186, 87, 157);
/* oklch */ color: oklch(60.2% 0.152 339.9);
Tailwind
colors: {
  custom: {
    50: '#d18aba',
    500: '#ba579d',
    950: '#000000',
  },
}
SCSS
$custom: #ba579d;
$custom-light: #d18aba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba579d",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 317.576,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.15245,
    "h": 339.9
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#BA579D
secondary
#A1CCAE
accent
#D27A56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA579D

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

Preview Lab → · Contrast checker → · Palette generator →

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