#BA487A#BA487A

#BA487A is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.9% C 0.155 H 355.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA487A
RGBrgb(186, 72, 122)
HSLhsl(334, 45%, 51%)
HSVhsv(334, 61%, 73%)
CMYKcmyk(0%, 61.3%, 34.4%, 27.1%)
CIE-LABlab(47.60, 50.77, -4.44)
CIE-LCHlch(47.60, 50.97, 355.00°)
OKLaboklab(56.86% 0.1549 -0.0111)
OKLCHoklch(56.86% 0.155 355.9)
XYZxyz(26.0813, 16.4818, 20.2164)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA487A #48BA88
analogous
#BA48B3 #BA487A #BA4F48
triadic
#BA487A #7ABA48 #487ABA
tetradic
#BA487A #B3BA48 #48BA88 #4F48BA
square
#BA487A #B3BA48 #48BA88 #4F48BA
split-complementary
#BA487A #48BA4F #48B3BA
monochromatic
#622540 #8F365D #BA487A #CB749A #DCA1BB

Accessibility & contrast

On white

4.89
#BA487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA487A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA487A#FFFFFF#000000##FFFFFF
##BA487A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647B
Deuteranopia (green-blind)
#797977
Tritanopia (blue-blind)
#C8405C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba487a;
/* rgb */ color: rgb(186, 72, 122);
/* oklch */ color: oklch(56.9% 0.155 355.9);
Tailwind
colors: {
  custom: {
    50: '#d281a0',
    500: '#ba487a',
    950: '#000000',
  },
}
SCSS
$custom: #ba487a;
$custom-light: #d281a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba487a",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 333.684,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.15525,
    "h": 355.9
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#BA487A
secondary
#96C8B2
accent
#D59C53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA487A

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

Preview Lab → · Contrast checker → · Palette generator →

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