#BA587F#BA587F

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

Color values

HEX#BA587F
RGBrgb(186, 88, 127)
HSLhsl(336, 42%, 54%)
HSVhsv(336, 53%, 73%)
CMYKcmyk(0%, 52.7%, 31.7%, 27.1%)
CIE-LABlab(50.63, 43.78, -2.97)
CIE-LCHlch(50.63, 43.88, 356.12°)
OKLaboklab(59.17% 0.1329 -0.0072)
OKLCHoklch(59.17% 0.133 356.9)
XYZxyz(27.5714, 18.9534, 22.2809)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA587F #58BA93
analogous
#BA58B0 #BA587F #BA6258
triadic
#BA587F #7FBA58 #587FBA
tetradic
#BA587F #B0BA58 #58BA93 #6258BA
square
#BA587F #B0BA58 #58BA93 #6258BA
split-complementary
#BA587F #58BA62 #58B0BA
monochromatic
#6B2C45 #973E61 #BA587F #CC83A0 #DEAFC1

Accessibility & contrast

On white

4.38
#BA587F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA587F#FFFFFF#000000##000000
##BA587F1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#807F7D
Tritanopia (blue-blind)
#C75267
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba587f;
/* rgb */ color: rgb(186, 88, 127);
/* oklch */ color: oklch(59.2% 0.133 356.9);
Tailwind
colors: {
  custom: {
    50: '#d28aa4',
    500: '#ba587f',
    950: '#000000',
  },
}
SCSS
$custom: #ba587f;
$custom-light: #d28aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba587f",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 336.122,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.13312,
    "h": 356.9
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#BA587F
secondary
#A2CCBB
accent
#D1A056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA587F

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

Preview Lab → · Contrast checker → · Palette generator →

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