#BA487B#BA487B

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

Color values

HEX#BA487B
RGBrgb(186, 72, 123)
HSLhsl(333, 45%, 51%)
HSVhsv(333, 61%, 73%)
CMYKcmyk(0%, 61.3%, 33.9%, 27.1%)
CIE-LABlab(47.63, 50.89, -5.00)
CIE-LCHlch(47.63, 51.14, 354.39°)
OKLaboklab(56.89% 0.1552 -0.0125)
OKLCHoklch(56.89% 0.156 355.4)
XYZxyz(26.1436, 16.5067, 20.5443)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA487B #48BA87
analogous
#BA48B4 #BA487B #BA4E48
triadic
#BA487B #7BBA48 #487BBA
tetradic
#BA487B #B4BA48 #48BA87 #4E48BA
square
#BA487B #B4BA48 #48BA87 #4E48BA
split-complementary
#BA487B #48BA4E #48B4BA
monochromatic
#622541 #8F365E #BA487B #CB749B #DCA1BB

Accessibility & contrast

On white

4.88
#BA487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA487B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA487B#FFFFFF#000000##FFFFFF
##BA487B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba487b;
/* rgb */ color: rgb(186, 72, 123);
/* oklch */ color: oklch(56.9% 0.156 355.4);
Tailwind
colors: {
  custom: {
    50: '#d281a1',
    500: '#ba487b',
    950: '#000000',
  },
}
SCSS
$custom: #ba487b;
$custom-light: #d281a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba487b",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 333.158,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.1557,
    "h": 355.4
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA487B

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

Preview Lab → · Contrast checker → · Palette generator →

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