#BA587D#BA587D

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

Color values

HEX#BA587D
RGBrgb(186, 88, 125)
HSLhsl(337, 42%, 54%)
HSVhsv(337, 53%, 73%)
CMYKcmyk(0%, 52.7%, 32.8%, 27.1%)
CIE-LABlab(50.57, 43.52, -1.87)
CIE-LCHlch(50.57, 43.56, 357.54°)
OKLaboklab(59.11% 0.1322 -0.0043)
OKLCHoklch(59.11% 0.132 358.1)
XYZxyz(27.4423, 18.9018, 21.6012)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA587D #58BA95
analogous
#BA58AE #BA587D #BA6458
triadic
#BA587D #7DBA58 #587DBA
tetradic
#BA587D #AEBA58 #58BA95 #6458BA
square
#BA587D #AEBA58 #58BA95 #6458BA
split-complementary
#BA587D #58BA64 #58AEBA
monochromatic
#6B2C44 #973E60 #BA587D #CC839F #DEAFC0

Accessibility & contrast

On white

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

On black

4.78
#BA587D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA587D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA587D#FFFFFF#000000##000000
##BA587D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba587d;
/* rgb */ color: rgb(186, 88, 125);
/* oklch */ color: oklch(59.1% 0.132 358.1);
Tailwind
colors: {
  custom: {
    50: '#d28aa2',
    500: '#ba587d',
    950: '#000000',
  },
}
SCSS
$custom: #ba587d;
$custom-light: #d28aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba587d",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 337.347,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.1323,
    "h": 358.1
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA587D

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

Preview Lab → · Contrast checker → · Palette generator →

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