#BA5487#BA5487

#BA5487 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.9% C 0.143 H 351.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA5487
RGBrgb(186, 84, 135)
HSLhsl(330, 43%, 53%)
HSVhsv(330, 55%, 73%)
CMYKcmyk(0%, 54.8%, 27.4%, 27.1%)
CIE-LABlab(50.13, 46.81, -8.49)
CIE-LCHlch(50.13, 47.58, 349.72°)
OKLaboklab(58.89% 0.1416 -0.022)
OKLCHoklch(58.89% 0.143 351.2)
XYZxyz(27.7942, 18.5316, 25.0301)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5487 #54BA87
analogous
#BA54BA #BA5487 #BA5454
triadic
#BA5487 #87BA54 #5487BA
tetradic
#BA5487 #BABA54 #54BA87 #5454BA
square
#BA5487 #BABA54 #54BA87 #5454BA
split-complementary
#BA5487 #54BA54 #54BABA
monochromatic
#692A4A #953C68 #BA5487 #CC80A6 #DDABC4

Accessibility & contrast

On white

4.46
#BA5487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA5487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5487
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5487#FFFFFF#000000##000000
##BA54871.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#7C7E85
Tritanopia (blue-blind)
#C65068
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5487;
/* rgb */ color: rgb(186, 84, 135);
/* oklch */ color: oklch(58.9% 0.143 351.2);
Tailwind
colors: {
  custom: {
    50: '#d288aa',
    500: '#ba5487',
    950: '#000000',
  },
}
SCSS
$custom: #ba5487;
$custom-light: #d288aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5487",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 330,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.14328,
    "h": 351.2
  },
  "luminance": 0.18529
}

Semantic roles & 50–950 ramp

primary
#BA5487
secondary
#9FCBB5
accent
#D29456
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5487

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

Preview Lab → · Contrast checker → · Palette generator →

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