#BA3587#BA3587

#BA3587 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.187 H 347.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3587
RGBrgb(186, 53, 135)
HSLhsl(323, 56%, 47%)
HSVhsv(323, 72%, 73%)
CMYKcmyk(0%, 71.5%, 27.4%, 27.1%)
CIE-LABlab(45.27, 60.04, -15.83)
CIE-LCHlch(45.27, 62.09, 345.23°)
OKLaboklab(55.29% 0.1824 -0.0418)
OKLCHoklch(55.29% 0.187 347.1)
XYZxyz(25.8971, 14.7374, 24.3977)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3587 #35BA68
analogous
#AB35BA #BA3587 #BA3544
triadic
#BA3587 #87BA35 #3587BA
tetradic
#BA3587 #BAAB35 #35BA68 #3544BA
square
#BA3587 #BAAB35 #35BA68 #3544BA
split-complementary
#BA3587 #44BA35 #35BAAB
monochromatic
#5B1A42 #8A2764 #BA3587 #D05CA4 #DE8BBE

Accessibility & contrast

On white

5.32
#BA3587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3587
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3587#FFFFFF#000000##FFFFFF
##BA35871.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#6E7384
Tritanopia (blue-blind)
#C73159
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3587;
/* rgb */ color: rgb(186, 53, 135);
/* oklch */ color: oklch(55.3% 0.187 347.1);
Tailwind
colors: {
  custom: {
    50: '#d378aa',
    500: '#ba3587',
    950: '#000000',
  },
}
SCSS
$custom: #ba3587;
$custom-light: #d378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3587",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 323.008,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.18709,
    "h": 347.1
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3587

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

Preview Lab → · Contrast checker → · Palette generator →

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