#BA4891#BA4891

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

Color values

HEX#BA4891
RGBrgb(186, 72, 145)
HSLhsl(322, 45%, 51%)
HSVhsv(322, 61%, 73%)
CMYKcmyk(0%, 61.3%, 22%, 27.1%)
CIE-LABlab(48.41, 53.78, -17.07)
CIE-LCHlch(48.41, 56.42, 342.39°)
OKLaboklab(57.73% 0.1614 -0.0454)
OKLCHoklch(57.73% 0.168 344.3)
XYZxyz(27.6787, 17.1207, 28.6295)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4891 #48BA71
analogous
#AA48BA #BA4891 #BA4858
triadic
#BA4891 #91BA48 #4891BA
tetradic
#BA4891 #BAAA48 #48BA71 #4858BA
square
#BA4891 #BAAA48 #48BA71 #4858BA
split-complementary
#BA4891 #58BA48 #48BAAA
monochromatic
#62254C #8F366F #BA4891 #CB74AC #DCA1C6

Accessibility & contrast

On white

4.75
#BA4891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4891
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4891#FFFFFF#000000##FFFFFF
##BA48911.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526793
Deuteranopia (green-blind)
#737A8E
Tritanopia (blue-blind)
#C54766
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4891;
/* rgb */ color: rgb(186, 72, 145);
/* oklch */ color: oklch(57.7% 0.168 344.3);
Tailwind
colors: {
  custom: {
    50: '#d281b1',
    500: '#ba4891',
    950: '#000000',
  },
}
SCSS
$custom: #ba4891;
$custom-light: #d281b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4891",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 321.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.16761,
    "h": 344.3
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#BA4891
secondary
#96C8A8
accent
#D58253
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4891

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

Preview Lab → · Contrast checker → · Palette generator →

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