#BA5599#BA5599

#BA5599 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.7% C 0.153 H 341.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA5599
RGBrgb(186, 85, 153)
HSLhsl(320, 42%, 53%)
HSVhsv(320, 54%, 73%)
CMYKcmyk(0%, 54.3%, 17.7%, 27.1%)
CIE-LABlab(50.97, 48.92, -17.93)
CIE-LCHlch(50.97, 52.11, 339.87°)
OKLaboklab(59.72% 0.1451 -0.0479)
OKLCHoklch(59.72% 0.153 341.7)
XYZxyz(29.2485, 19.2384, 32.3037)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5599 #55BA76
analogous
#A855BA #BA5599 #BA5566
triadic
#BA5599 #99BA55 #5599BA
tetradic
#BA5599 #BAA855 #55BA76 #5566BA
square
#BA5599 #BAA855 #55BA76 #5566BA
split-complementary
#BA5599 #66BA55 #55BAA8
monochromatic
#6A2B55 #953D78 #BA5599 #CC81B3 #DDACCD

Accessibility & contrast

On white

4.33
#BA5599 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA5599 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5599
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5599#FFFFFF#000000##000000
##BA55991.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#777F96
Tritanopia (blue-blind)
#C45670
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba5599;
/* rgb */ color: rgb(186, 85, 153);
/* oklch */ color: oklch(59.7% 0.153 341.7);
Tailwind
colors: {
  custom: {
    50: '#d189b7',
    500: '#ba5599',
    950: '#000000',
  },
}
SCSS
$custom: #ba5599;
$custom-light: #d189b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5599",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 319.604,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.15283,
    "h": 341.7
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#BA5599
secondary
#A0CBAE
accent
#D27E56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5599

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

Preview Lab → · Contrast checker → · Palette generator →

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