#BA588C#BA588C

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

Color values

HEX#BA588C
RGBrgb(186, 88, 140)
HSLhsl(328, 42%, 54%)
HSVhsv(328, 53%, 73%)
CMYKcmyk(0%, 52.7%, 24.7%, 27.1%)
CIE-LABlab(51.05, 45.54, -10.09)
CIE-LCHlch(51.05, 46.64, 347.50°)
OKLaboklab(59.63% 0.1371 -0.0263)
OKLCHoklch(59.63% 0.14 349.1)
XYZxyz(28.4739, 19.3145, 27.0343)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA588C #58BA86
analogous
#B758BA #BA588C #BA585B
triadic
#BA588C #8CBA58 #588CBA
tetradic
#BA588C #BAB758 #58BA86 #585BBA
square
#BA588C #BAB758 #58BA86 #585BBA
split-complementary
#BA588C #5BBA58 #58BAB7
monochromatic
#6B2C4E #973E6D #BA588C #CC83AA #DEAFC8

Accessibility & contrast

On white

4.32
#BA588C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA588C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA588C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA588C#FFFFFF#000000##000000
##BA588C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8E
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#C6556C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba588c;
/* rgb */ color: rgb(186, 88, 140);
/* oklch */ color: oklch(59.6% 0.140 349.1);
Tailwind
colors: {
  custom: {
    50: '#d18bad',
    500: '#ba588c',
    950: '#000000',
  },
}
SCSS
$custom: #ba588c;
$custom-light: #d18bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba588c",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 328.163,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.13962,
    "h": 349.1
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#BA588C
secondary
#A2CCB6
accent
#D19056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA588C

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

Preview Lab → · Contrast checker → · Palette generator →

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