#BA559C#BA559C

#BA559C is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.8% C 0.155 H 340.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA559C
RGBrgb(186, 85, 156)
HSLhsl(318, 42%, 53%)
HSVhsv(318, 54%, 73%)
CMYKcmyk(0%, 54.3%, 16.1%, 27.1%)
CIE-LABlab(51.08, 49.39, -19.53)
CIE-LCHlch(51.08, 53.11, 338.42°)
OKLaboklab(59.84% 0.1459 -0.0523)
OKLCHoklch(59.84% 0.155 340.3)
XYZxyz(29.4994, 19.3387, 33.6251)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA559C #55BA73
analogous
#A555BA #BA559C #BA5569
triadic
#BA559C #9CBA55 #559CBA
tetradic
#BA559C #BAA555 #55BA73 #5569BA
square
#BA559C #BAA555 #55BA73 #5569BA
split-complementary
#BA559C #69BA55 #55BAA5
monochromatic
#6A2B57 #953D7B #BA559C #CC81B5 #DDACCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA559C#FFFFFF#000000##000000
##BA559C1.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)
#5A709E
Deuteranopia (green-blind)
#768099
Tritanopia (blue-blind)
#C45771
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba559c;
/* rgb */ color: rgb(186, 85, 156);
/* oklch */ color: oklch(59.8% 0.155 340.3);
Tailwind
colors: {
  custom: {
    50: '#d189b9',
    500: '#ba559c',
    950: '#000000',
  },
}
SCSS
$custom: #ba559c;
$custom-light: #d189b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba559c",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 317.822,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.15497,
    "h": 340.3
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#BA559C
secondary
#A0CBAD
accent
#D27B56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA559C

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

Preview Lab → · Contrast checker → · Palette generator →

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