#BA4988#BA4988

#BA4988 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.5% C 0.161 H 348.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA4988
RGBrgb(186, 73, 136)
HSLhsl(327, 45%, 51%)
HSVhsv(327, 61%, 73%)
CMYKcmyk(0%, 60.8%, 26.9%, 27.1%)
CIE-LABlab(48.24, 52.10, -11.94)
CIE-LCHlch(48.24, 53.45, 347.09°)
OKLaboklab(57.49% 0.1577 -0.0312)
OKLCHoklch(57.49% 0.161 348.8)
XYZxyz(27.0772, 16.9844, 25.1401)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4988 #49BA7B
analogous
#B449BA #BA4988 #BA494F
triadic
#BA4988 #88BA49 #4988BA
tetradic
#BA4988 #BAB449 #49BA7B #494FBA
square
#BA4988 #BAB449 #49BA7B #494FBA
split-complementary
#BA4988 #4FBA49 #49BAB4
monochromatic
#632648 #8F3668 #BA4988 #CB75A5 #DCA2C2

Accessibility & contrast

On white

4.78
#BA4988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA4988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4988
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4988#FFFFFF#000000##FFFFFF
##BA49881.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57668A
Deuteranopia (green-blind)
#767A85
Tritanopia (blue-blind)
#C64562
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4988;
/* rgb */ color: rgb(186, 73, 136);
/* oklch */ color: oklch(57.5% 0.161 348.8);
Tailwind
colors: {
  custom: {
    50: '#d282aa',
    500: '#ba4988',
    950: '#000000',
  },
}
SCSS
$custom: #ba4988;
$custom-light: #d282aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4988",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 326.549,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.16075,
    "h": 348.8
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#BA4988
secondary
#96C8AD
accent
#D58C53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4988

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

Preview Lab → · Contrast checker → · Palette generator →

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