#BA4894#BA4894

#BA4894 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.9% C 0.170 H 342.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4894
RGBrgb(186, 72, 148)
HSLhsl(320, 45%, 51%)
HSVhsv(320, 61%, 73%)
CMYKcmyk(0%, 61.3%, 20.4%, 27.1%)
CIE-LABlab(48.53, 54.21, -18.69)
CIE-LCHlch(48.53, 57.34, 340.98°)
OKLaboklab(57.85% 0.1621 -0.0499)
OKLCHoklch(57.85% 0.17 342.9)
XYZxyz(27.9131, 17.2145, 29.8639)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4894 #48BA6E
analogous
#A748BA #BA4894 #BA485B
triadic
#BA4894 #94BA48 #4894BA
tetradic
#BA4894 #BAA748 #48BA6E #485BBA
square
#BA4894 #BAA748 #48BA6E #485BBA
split-complementary
#BA4894 #5BBA48 #48BAA7
monochromatic
#62254E #8F3671 #BA4894 #CB74AE #DCA1C8

Accessibility & contrast

On white

4.73
#BA4894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4894
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4894#FFFFFF#000000##FFFFFF
##BA48941.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516796
Deuteranopia (green-blind)
#727A91
Tritanopia (blue-blind)
#C54868
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4894;
/* rgb */ color: rgb(186, 72, 148);
/* oklch */ color: oklch(57.9% 0.170 342.9);
Tailwind
colors: {
  custom: {
    50: '#d281b3',
    500: '#ba4894',
    950: '#000000',
  },
}
SCSS
$custom: #ba4894;
$custom-light: #d281b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4894",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 320,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.16955,
    "h": 342.9
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#BA4894
secondary
#96C8A6
accent
#D57E53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4894

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

Preview Lab → · Contrast checker → · Palette generator →

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