#BA487D#BA487D

#BA487D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.157 H 354.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA487D
RGBrgb(186, 72, 125)
HSLhsl(332, 45%, 51%)
HSVhsv(332, 61%, 73%)
CMYKcmyk(0%, 61.3%, 32.8%, 27.1%)
CIE-LABlab(47.70, 51.14, -6.12)
CIE-LCHlch(47.70, 51.50, 353.18°)
OKLaboklab(56.96% 0.1558 -0.0155)
OKLCHoklch(56.96% 0.157 354.3)
XYZxyz(26.2701, 16.5573, 21.2105)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA487D #48BA85
analogous
#BA48B6 #BA487D #BA4C48
triadic
#BA487D #7DBA48 #487DBA
tetradic
#BA487D #B6BA48 #48BA85 #4C48BA
square
#BA487D #B6BA48 #48BA85 #4C48BA
split-complementary
#BA487D #48BA4C #48B6BA
monochromatic
#622542 #8F365F #BA487D #CB749D #DCA1BC

Accessibility & contrast

On white

4.87
#BA487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA487D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA487D#FFFFFF#000000##FFFFFF
##BA487D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#78797A
Tritanopia (blue-blind)
#C8415D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba487d;
/* rgb */ color: rgb(186, 72, 125);
/* oklch */ color: oklch(57.0% 0.157 354.3);
Tailwind
colors: {
  custom: {
    50: '#d281a2',
    500: '#ba487d',
    950: '#000000',
  },
}
SCSS
$custom: #ba487d;
$custom-light: #d281a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba487d",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 332.105,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.15659,
    "h": 354.3
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA487D

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

Preview Lab → · Contrast checker → · Palette generator →

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