#BA4A89#BA4A89

#BA4A89 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.160 H 348.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA4A89
RGBrgb(186, 74, 137)
HSLhsl(326, 45%, 51%)
HSVhsv(326, 60%, 73%)
CMYKcmyk(0%, 60.2%, 26.3%, 27.1%)
CIE-LABlab(48.44, 51.78, -12.23)
CIE-LCHlch(48.44, 53.21, 346.71°)
OKLaboklab(57.65% 0.1566 -0.0321)
OKLCHoklch(57.65% 0.16 348.4)
XYZxyz(27.2149, 17.1454, 25.5382)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A89 #4ABA7B
analogous
#B34ABA #BA4A89 #BA4A51
triadic
#BA4A89 #89BA4A #4A89BA
tetradic
#BA4A89 #BAB34A #4ABA7B #4A51BA
square
#BA4A89 #BAB34A #4ABA7B #4A51BA
split-complementary
#BA4A89 #51BA4A #4ABAB3
monochromatic
#642649 #903769 #BA4A89 #CB76A6 #DCA3C3

Accessibility & contrast

On white

4.74
#BA4A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA4A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A89
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A89#FFFFFF#000000##FFFFFF
##BA4A891.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678B
Deuteranopia (green-blind)
#767A86
Tritanopia (blue-blind)
#C64763
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4a89;
/* rgb */ color: rgb(186, 74, 137);
/* oklch */ color: oklch(57.7% 0.160 348.4);
Tailwind
colors: {
  custom: {
    50: '#d282ab',
    500: '#ba4a89',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a89;
$custom-light: #d282ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a89",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 326.25,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.15982,
    "h": 348.4
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#BA4A89
secondary
#97C9AD
accent
#D58C53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4A89

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

Preview Lab → · Contrast checker → · Palette generator →

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