#BA587E#BA587E

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

Color values

HEX#BA587E
RGBrgb(186, 88, 126)
HSLhsl(337, 42%, 54%)
HSVhsv(337, 53%, 73%)
CMYKcmyk(0%, 52.7%, 32.3%, 27.1%)
CIE-LABlab(50.60, 43.65, -2.42)
CIE-LCHlch(50.60, 43.72, 356.83°)
OKLaboklab(59.14% 0.1326 -0.0058)
OKLCHoklch(59.14% 0.133 357.5)
XYZxyz(27.5066, 18.9275, 21.9393)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA587E #58BA94
analogous
#BA58AF #BA587E #BA6358
triadic
#BA587E #7EBA58 #587EBA
tetradic
#BA587E #AFBA58 #58BA94 #6358BA
square
#BA587E #AFBA58 #58BA94 #6358BA
split-complementary
#BA587E #58BA63 #58AFBA
monochromatic
#6B2C45 #973E60 #BA587E #CC839F #DEAFC1

Accessibility & contrast

On white

4.39
#BA587E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA587E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA587E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA587E#FFFFFF#000000##000000
##BA587E1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#C75166
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba587e;
/* rgb */ color: rgb(186, 88, 126);
/* oklch */ color: oklch(59.1% 0.133 357.5);
Tailwind
colors: {
  custom: {
    50: '#d28aa3',
    500: '#ba587e',
    950: '#000000',
  },
}
SCSS
$custom: #ba587e;
$custom-light: #d28aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba587e",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 336.735,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.13271,
    "h": 357.5
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#BA587E
secondary
#A2CCBC
accent
#D1A256
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA587E

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

Preview Lab → · Contrast checker → · Palette generator →

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