#BA3D89#BA3D89

#BA3D89 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.2% C 0.178 H 346.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA3D89
RGBrgb(186, 61, 137)
HSLhsl(324, 51%, 48%)
HSVhsv(324, 67%, 73%)
CMYKcmyk(0%, 67.2%, 26.3%, 27.1%)
CIE-LABlab(46.43, 57.30, -15.29)
CIE-LCHlch(46.43, 59.30, 345.06°)
OKLaboklab(56.16% 0.1735 -0.0404)
OKLCHoklch(56.16% 0.178 346.9)
XYZxyz(26.4349, 15.5855, 25.2782)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D89 #3DBA6E
analogous
#AC3DBA #BA3D89 #BA3D4A
triadic
#BA3D89 #89BA3D #3D89BA
tetradic
#BA3D89 #BAAC3D #3DBA6E #3D4ABA
square
#BA3D89 #BAAC3D #3DBA6E #3D4ABA
split-complementary
#BA3D89 #4ABA3D #3DBAAC
monochromatic
#5E1F45 #8C2E67 #BA3D89 #CD67A5 #DC95C0

Accessibility & contrast

On white

5.10
#BA3D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA3D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D89
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D89#FFFFFF#000000##FFFFFF
##BA3D891.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608B
Deuteranopia (green-blind)
#707686
Tritanopia (blue-blind)
#C73A5D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3d89;
/* rgb */ color: rgb(186, 61, 137);
/* oklch */ color: oklch(56.2% 0.178 346.9);
Tailwind
colors: {
  custom: {
    50: '#d37bab',
    500: '#ba3d89',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d89;
$custom-light: #d37bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d89",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 323.52,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.17817,
    "h": 346.9
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#BA3D89
secondary
#8BC8A3
accent
#DA854E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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