#BA4887#BA4887

#BA4887 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.3% C 0.162 H 349.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA4887
RGBrgb(186, 72, 135)
HSLhsl(327, 45%, 51%)
HSVhsv(327, 61%, 73%)
CMYKcmyk(0%, 61.3%, 27.4%, 27.1%)
CIE-LABlab(48.04, 52.41, -11.64)
CIE-LCHlch(48.04, 53.69, 347.48°)
OKLaboklab(57.33% 0.1588 -0.0304)
OKLCHoklch(57.33% 0.162 349.2)
XYZxyz(26.9413, 16.8258, 24.7458)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4887 #48BA7B
analogous
#B448BA #BA4887 #BA484E
triadic
#BA4887 #87BA48 #4887BA
tetradic
#BA4887 #BAB448 #48BA7B #484EBA
square
#BA4887 #BAB448 #48BA7B #484EBA
split-complementary
#BA4887 #4EBA48 #48BAB4
monochromatic
#622547 #8F3667 #BA4887 #CB74A4 #DCA1C1

Accessibility & contrast

On white

4.81
#BA4887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA4887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4887
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4887#FFFFFF#000000##FFFFFF
##BA48871.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#767984
Tritanopia (blue-blind)
#C74461
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4887;
/* rgb */ color: rgb(186, 72, 135);
/* oklch */ color: oklch(57.3% 0.162 349.2);
Tailwind
colors: {
  custom: {
    50: '#d281aa',
    500: '#ba4887',
    950: '#000000',
  },
}
SCSS
$custom: #ba4887;
$custom-light: #d281aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4887",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 326.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.16166,
    "h": 349.2
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#BA4887
secondary
#96C8AC
accent
#D58D53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4887

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

Preview Lab → · Contrast checker → · Palette generator →

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