#BA587B#BA587B

#BA587B is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.0% C 0.132 H 359.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA587B
RGBrgb(186, 88, 123)
HSLhsl(339, 42%, 54%)
HSVhsv(339, 53%, 73%)
CMYKcmyk(0%, 52.7%, 33.9%, 27.1%)
CIE-LABlab(50.51, 43.27, -0.76)
CIE-LCHlch(50.51, 43.27, 359.00°)
OKLaboklab(59.04% 0.1315 -0.0014)
OKLCHoklch(59.04% 0.132 359.4)
XYZxyz(27.3159, 18.8512, 20.9351)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA587B #58BA97
analogous
#BA58AC #BA587B #BA6658
triadic
#BA587B #7BBA58 #587BBA
tetradic
#BA587B #ACBA58 #58BA97 #6658BA
square
#BA587B #ACBA58 #58BA97 #6658BA
split-complementary
#BA587B #58BA66 #58ACBA
monochromatic
#6B2C43 #973E5E #BA587B #CC839D #DEAFBF

Accessibility & contrast

On white

4.40
#BA587B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BA587B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA587B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA587B#FFFFFF#000000##000000
##BA587B1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7C
Deuteranopia (green-blind)
#817F79
Tritanopia (blue-blind)
#C75165
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba587b;
/* rgb */ color: rgb(186, 88, 123);
/* oklch */ color: oklch(59.0% 0.132 359.4);
Tailwind
colors: {
  custom: {
    50: '#d28aa1',
    500: '#ba587b',
    950: '#000000',
  },
}
SCSS
$custom: #ba587b;
$custom-light: #d28aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba587b",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 338.571,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.13154,
    "h": 359.4
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#BA587B
secondary
#A2CCBD
accent
#D1A556
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA587B

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

Preview Lab → · Contrast checker → · Palette generator →

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