#BA559D#BA559D

#BA559D is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.9% C 0.156 H 339.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA559D
RGBrgb(186, 85, 157)
HSLhsl(317, 42%, 53%)
HSVhsv(317, 54%, 73%)
CMYKcmyk(0%, 54.3%, 15.6%, 27.1%)
CIE-LABlab(51.12, 49.54, -20.06)
CIE-LCHlch(51.12, 53.45, 337.96°)
OKLaboklab(59.88% 0.1461 -0.0538)
OKLCHoklch(59.88% 0.156 339.8)
XYZxyz(29.5844, 19.3727, 34.0729)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA559D #55BA72
analogous
#A455BA #BA559D #BA556A
triadic
#BA559D #9DBA55 #559DBA
tetradic
#BA559D #BAA455 #55BA72 #556ABA
square
#BA559D #BAA455 #55BA72 #556ABA
split-complementary
#BA559D #6ABA55 #55BAA4
monochromatic
#6A2B58 #953D7C #BA559D #CC81B6 #DDACCF

Accessibility & contrast

On white

4.31
#BA559D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BA559D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA559D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA559D#FFFFFF#000000##000000
##BA559D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#76809A
Tritanopia (blue-blind)
#C45772
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba559d;
/* rgb */ color: rgb(186, 85, 157);
/* oklch */ color: oklch(59.9% 0.156 339.8);
Tailwind
colors: {
  custom: {
    50: '#d189ba',
    500: '#ba559d',
    950: '#000000',
  },
}
SCSS
$custom: #ba559d;
$custom-light: #d189ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba559d",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 317.228,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.1557,
    "h": 339.8
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#BA559D
secondary
#A0CBAC
accent
#D27956
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA559D

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

Preview Lab → · Contrast checker → · Palette generator →

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