#BA4F89#BA4F89

#BA4F89 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.152 H 349.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA4F89
RGBrgb(186, 79, 137)
HSLhsl(327, 44%, 52%)
HSVhsv(327, 58%, 73%)
CMYKcmyk(0%, 57.5%, 26.3%, 27.1%)
CIE-LABlab(49.30, 49.48, -10.94)
CIE-LCHlch(49.30, 50.67, 347.53°)
OKLaboklab(58.29% 0.1495 -0.0286)
OKLCHoklch(58.29% 0.152 349.2)
XYZxyz(27.5621, 17.8398, 25.6539)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F89 #4FBA80
analogous
#B64FBA #BA4F89 #BA4F54
triadic
#BA4F89 #89BA4F #4F89BA
tetradic
#BA4F89 #BAB64F #4FBA80 #4F54BA
square
#BA4F89 #BAB64F #4FBA80 #4F54BA
split-complementary
#BA4F89 #54BA4F #4FBAB6
monochromatic
#66284A #92396A #BA4F89 #CB7BA6 #DCA7C4

Accessibility & contrast

On white

4.60
#BA4F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA4F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F89
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F89#FFFFFF#000000##FFFFFF
##BA4F891.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C698B
Deuteranopia (green-blind)
#797C86
Tritanopia (blue-blind)
#C64B66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4f89;
/* rgb */ color: rgb(186, 79, 137);
/* oklch */ color: oklch(58.3% 0.152 349.2);
Tailwind
colors: {
  custom: {
    50: '#d285ab',
    500: '#ba4f89',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f89;
$custom-light: #d285ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f89",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 327.477,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.15222,
    "h": 349.2
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#BA4F89
secondary
#9BCAB0
accent
#D38F54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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