#BA3989#BA3989

#BA3989 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.183 H 346.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3989
RGBrgb(186, 57, 137)
HSLhsl(323, 53%, 48%)
HSVhsv(323, 69%, 73%)
CMYKcmyk(0%, 69.4%, 26.3%, 27.1%)
CIE-LABlab(45.87, 58.84, -16.13)
CIE-LCHlch(45.87, 61.01, 344.67°)
OKLaboklab(55.76% 0.1783 -0.0427)
OKLCHoklch(55.76% 0.183 346.5)
XYZxyz(26.2293, 15.1743, 25.2097)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3989 #39BA6A
analogous
#AB39BA #BA3989 #BA3948
triadic
#BA3989 #89BA39 #3989BA
tetradic
#BA3989 #BAAB39 #39BA6A #3948BA
square
#BA3989 #BAAB39 #39BA6A #3948BA
split-complementary
#BA3989 #48BA39 #39BAAB
monochromatic
#5C1C44 #8B2B66 #BA3989 #CF61A5 #DD90C0

Accessibility & contrast

On white

5.21
#BA3989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3989
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3989#FFFFFF#000000##FFFFFF
##BA39891.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8B
Deuteranopia (green-blind)
#6F7586
Tritanopia (blue-blind)
#C7365C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3989;
/* rgb */ color: rgb(186, 57, 137);
/* oklch */ color: oklch(55.8% 0.183 346.5);
Tailwind
colors: {
  custom: {
    50: '#d379ab',
    500: '#ba3989',
    950: '#000000',
  },
}
SCSS
$custom: #ba3989;
$custom-light: #d379ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3989",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 322.791,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.18333,
    "h": 346.5
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#BA3989
secondary
#87C8A0
accent
#DC824B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3989

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

Preview Lab → · Contrast checker → · Palette generator →

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