#BA3B89#BA3B89

#BA3B89 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.181 H 346.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3B89
RGBrgb(186, 59, 137)
HSLhsl(323, 52%, 48%)
HSVhsv(323, 68%, 73%)
CMYKcmyk(0%, 68.3%, 26.3%, 27.1%)
CIE-LABlab(46.14, 58.08, -15.72)
CIE-LCHlch(46.14, 60.17, 344.86°)
OKLaboklab(55.96% 0.176 -0.0415)
OKLCHoklch(55.96% 0.181 346.7)
XYZxyz(26.3301, 15.3759, 25.2433)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B89 #3BBA6C
analogous
#AC3BBA #BA3B89 #BA3B49
triadic
#BA3B89 #89BA3B #3B89BA
tetradic
#BA3B89 #BAAC3B #3BBA6C #3B49BA
square
#BA3B89 #BAAC3B #3BBA6C #3B49BA
split-complementary
#BA3B89 #49BA3B #3BBAAC
monochromatic
#5D1E45 #8C2C67 #BA3B89 #CE64A5 #DD93C0

Accessibility & contrast

On white

5.15
#BA3B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B89
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B89#FFFFFF#000000##FFFFFF
##BA3B891.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8B
Deuteranopia (green-blind)
#707586
Tritanopia (blue-blind)
#C7385D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b89;
/* rgb */ color: rgb(186, 59, 137);
/* oklch */ color: oklch(56.0% 0.181 346.7);
Tailwind
colors: {
  custom: {
    50: '#d37aab',
    500: '#ba3b89',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b89;
$custom-light: #d37aab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b89",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 323.15,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.18078,
    "h": 346.7
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#BA3B89
secondary
#89C8A1
accent
#DB844D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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