#BA587C#BA587C

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

Color values

HEX#BA587C
RGBrgb(186, 88, 124)
HSLhsl(338, 42%, 54%)
HSVhsv(338, 53%, 73%)
CMYKcmyk(0%, 52.7%, 33.3%, 27.1%)
CIE-LABlab(50.54, 43.39, -1.31)
CIE-LCHlch(50.54, 43.41, 358.27°)
OKLaboklab(59.08% 0.1319 -0.0029)
OKLCHoklch(59.08% 0.132 358.7)
XYZxyz(27.3788, 18.8764, 21.2665)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA587C #58BA96
analogous
#BA58AD #BA587C #BA6558
triadic
#BA587C #7CBA58 #587CBA
tetradic
#BA587C #ADBA58 #58BA96 #6558BA
square
#BA587C #ADBA58 #58BA96 #6558BA
split-complementary
#BA587C #58BA65 #58ADBA
monochromatic
#6B2C43 #973E5F #BA587C #CC839E #DEAFC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA587C#FFFFFF#000000##000000
##BA587C1.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)
#676D7D
Deuteranopia (green-blind)
#817F7A
Tritanopia (blue-blind)
#C75165
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba587c;
/* rgb */ color: rgb(186, 88, 124);
/* oklch */ color: oklch(59.1% 0.132 358.7);
Tailwind
colors: {
  custom: {
    50: '#d28aa1',
    500: '#ba587c',
    950: '#000000',
  },
}
SCSS
$custom: #ba587c;
$custom-light: #d28aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba587c",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 337.959,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.13191,
    "h": 358.7
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#BA587C
secondary
#A2CCBC
accent
#D1A456
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0F
muted
#837D7E

Preview Lab

Preview with #BA587C

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

Preview Lab → · Contrast checker → · Palette generator →

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