#BA487C#BA487C

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

Color values

HEX#BA487C
RGBrgb(186, 72, 124)
HSLhsl(333, 45%, 51%)
HSVhsv(333, 61%, 73%)
CMYKcmyk(0%, 61.3%, 33.3%, 27.1%)
CIE-LABlab(47.66, 51.02, -5.56)
CIE-LCHlch(47.66, 51.32, 353.78°)
OKLaboklab(56.93% 0.1555 -0.014)
OKLCHoklch(56.93% 0.156 354.8)
XYZxyz(26.2065, 16.5318, 20.8757)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA487C #48BA86
analogous
#BA48B5 #BA487C #BA4D48
triadic
#BA487C #7CBA48 #487CBA
tetradic
#BA487C #B5BA48 #48BA86 #4D48BA
square
#BA487C #B5BA48 #48BA86 #4D48BA
split-complementary
#BA487C #48BA4D #48B5BA
monochromatic
#622541 #8F365E #BA487C #CB749C #DCA1BC

Accessibility & contrast

On white

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

On black

4.31
#BA487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA487C#FFFFFF#000000##FFFFFF
##BA487C1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#C8405D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba487c;
/* rgb */ color: rgb(186, 72, 124);
/* oklch */ color: oklch(56.9% 0.156 354.8);
Tailwind
colors: {
  custom: {
    50: '#d281a1',
    500: '#ba487c',
    950: '#000000',
  },
}
SCSS
$custom: #ba487c;
$custom-light: #d281a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba487c",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 332.632,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.15613,
    "h": 354.8
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#BA487C
secondary
#96C8B1
accent
#D59A53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA487C

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

Preview Lab → · Contrast checker → · Palette generator →

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