#BA3B87#BA3B87

#BA3B87 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.180 H 347.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA3B87
RGBrgb(186, 59, 135)
HSLhsl(324, 52%, 48%)
HSVhsv(324, 68%, 73%)
CMYKcmyk(0%, 68.3%, 27.4%, 27.1%)
CIE-LABlab(46.07, 57.82, -14.62)
CIE-LCHlch(46.07, 59.64, 345.81°)
OKLaboklab(55.88% 0.1755 -0.0385)
OKLCHoklch(55.88% 0.18 347.6)
XYZxyz(26.1880, 15.3191, 24.4947)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B87 #3BBA6E
analogous
#AD3BBA #BA3B87 #BA3B48
triadic
#BA3B87 #87BA3B #3B87BA
tetradic
#BA3B87 #BAAD3B #3BBA6E #3B48BA
square
#BA3B87 #BAAD3B #3BBA6E #3B48BA
split-complementary
#BA3B87 #48BA3B #3BBAAD
monochromatic
#5D1E44 #8C2C65 #BA3B87 #CE64A3 #DD93BF

Accessibility & contrast

On white

5.17
#BA3B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B87
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B87#FFFFFF#000000##FFFFFF
##BA3B871.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#707584
Tritanopia (blue-blind)
#C7375C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b87;
/* rgb */ color: rgb(186, 59, 135);
/* oklch */ color: oklch(55.9% 0.180 347.6);
Tailwind
colors: {
  custom: {
    50: '#d37aaa',
    500: '#ba3b87',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b87;
$custom-light: #d37aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b87",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 324.094,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.17965,
    "h": 347.6
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#BA3B87
secondary
#89C8A2
accent
#DB864D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B87

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

Preview Lab → · Contrast checker → · Palette generator →

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