#BA3588#BA3588

#BA3588 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.188 H 346.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA3588
RGBrgb(186, 53, 136)
HSLhsl(323, 56%, 47%)
HSVhsv(323, 72%, 73%)
CMYKcmyk(0%, 71.5%, 26.9%, 27.1%)
CIE-LABlab(45.31, 60.17, -16.38)
CIE-LCHlch(45.31, 62.36, 344.77°)
OKLaboklab(55.34% 0.1826 -0.0433)
OKLCHoklch(55.34% 0.188 346.7)
XYZxyz(25.9679, 14.7657, 24.7703)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3588 #35BA67
analogous
#AA35BA #BA3588 #BA3546
triadic
#BA3588 #88BA35 #3588BA
tetradic
#BA3588 #BAAA35 #35BA67 #3546BA
square
#BA3588 #BAAA35 #35BA67 #3546BA
split-complementary
#BA3588 #46BA35 #35BAAA
monochromatic
#5B1A42 #8A2765 #BA3588 #D05CA5 #DE8BBF

Accessibility & contrast

On white

5.31
#BA3588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3588
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3588#FFFFFF#000000##FFFFFF
##BA35881.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8A
Deuteranopia (green-blind)
#6E7485
Tritanopia (blue-blind)
#C7315A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3588;
/* rgb */ color: rgb(186, 53, 136);
/* oklch */ color: oklch(55.3% 0.188 346.7);
Tailwind
colors: {
  custom: {
    50: '#d378aa',
    500: '#ba3588',
    950: '#000000',
  },
}
SCSS
$custom: #ba3588;
$custom-light: #d378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3588",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 322.556,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.18765,
    "h": 346.7
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#BA3588
secondary
#82C89D
accent
#DF8149
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3588

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

Preview Lab → · Contrast checker → · Palette generator →

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