#BA588E#BA588E

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

Color values

HEX#BA588E
RGBrgb(186, 88, 142)
HSLhsl(327, 42%, 54%)
HSVhsv(327, 53%, 73%)
CMYKcmyk(0%, 52.7%, 23.7%, 27.1%)
CIE-LABlab(51.12, 45.82, -11.18)
CIE-LCHlch(51.12, 47.17, 346.29°)
OKLaboklab(59.7% 0.1377 -0.0293)
OKLCHoklch(59.7% 0.141 348)
XYZxyz(28.6228, 19.3740, 27.8180)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA588E #58BA84
analogous
#B558BA #BA588E #BA585D
triadic
#BA588E #8EBA58 #588EBA
tetradic
#BA588E #BAB558 #58BA84 #585DBA
square
#BA588E #BAB558 #58BA84 #585DBA
split-complementary
#BA588E #5DBA58 #58BAB5
monochromatic
#6B2C4F #973E6F #BA588E #CC83AB #DEAFC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA588E#FFFFFF#000000##000000
##BA588E1.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)
#626F90
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#C5566D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba588e;
/* rgb */ color: rgb(186, 88, 142);
/* oklch */ color: oklch(59.7% 0.141 348.0);
Tailwind
colors: {
  custom: {
    50: '#d18baf',
    500: '#ba588e',
    950: '#000000',
  },
}
SCSS
$custom: #ba588e;
$custom-light: #d18baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba588e",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 326.939,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.14079,
    "h": 348
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA588E

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

Preview Lab → · Contrast checker → · Palette generator →

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