#BA588D#BA588D

#BA588D is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.7% C 0.140 H 348.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA588D
RGBrgb(186, 88, 141)
HSLhsl(328, 42%, 54%)
HSVhsv(328, 53%, 73%)
CMYKcmyk(0%, 52.7%, 24.2%, 27.1%)
CIE-LABlab(51.09, 45.68, -10.64)
CIE-LCHlch(51.09, 46.90, 346.89°)
OKLaboklab(59.66% 0.1374 -0.0278)
OKLCHoklch(59.66% 0.14 348.6)
XYZxyz(28.5480, 19.3441, 27.4244)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA588D #58BA85
analogous
#B658BA #BA588D #BA585C
triadic
#BA588D #8DBA58 #588DBA
tetradic
#BA588D #BAB658 #58BA85 #585CBA
square
#BA588D #BAB658 #58BA85 #585CBA
split-complementary
#BA588D #5CBA58 #58BAB6
monochromatic
#6B2C4E #973E6E #BA588D #CC83AB #DEAFC8

Accessibility & contrast

On white

4.31
#BA588D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BA588D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA588D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA588D#FFFFFF#000000##000000
##BA588D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#C5556C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba588d;
/* rgb */ color: rgb(186, 88, 141);
/* oklch */ color: oklch(59.7% 0.140 348.6);
Tailwind
colors: {
  custom: {
    50: '#d18bae',
    500: '#ba588d',
    950: '#000000',
  },
}
SCSS
$custom: #ba588d;
$custom-light: #d18bae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba588d",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 327.551,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.1402,
    "h": 348.6
  },
  "luminance": 0.19342
}

Semantic roles & 50–950 ramp

primary
#BA588D
secondary
#A2CCB5
accent
#D18F56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA588D

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

Preview Lab → · Contrast checker → · Palette generator →

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