#BA5B8A#BA5B8A

#BA5B8A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.0% C 0.134 H 350.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA5B8A
RGBrgb(186, 91, 138)
HSLhsl(330, 41%, 54%)
HSVhsv(330, 51%, 73%)
CMYKcmyk(0%, 51.1%, 25.8%, 27.1%)
CIE-LABlab(51.56, 43.75, -8.14)
CIE-LCHlch(51.56, 44.50, 349.46°)
OKLaboklab(59.99% 0.1319 -0.0211)
OKLCHoklch(59.99% 0.134 350.9)
XYZxyz(28.5792, 19.7587, 26.3485)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5B8A #5BBA8B
analogous
#BA5BBA #BA5B8A #BA5C5B
triadic
#BA5B8A #8ABA5B #5B8ABA
tetradic
#BA5B8A #BABA5B #5BBA8B #5C5BBA
square
#BA5B8A #BABA5B #5BBA8B #5C5BBA
split-complementary
#BA5B8A #5BBA5C #5BBABA
monochromatic
#6D2E4D #98406B #BA5B8A #CC86A9 #DEB1C7

Accessibility & contrast

On white

4.24
#BA5B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BA5B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5B8A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5B8A#FFFFFF#000000##000000
##BA5B8A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718C
Deuteranopia (green-blind)
#7F8188
Tritanopia (blue-blind)
#C6576D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5b8a;
/* rgb */ color: rgb(186, 91, 138);
/* oklch */ color: oklch(60.0% 0.134 350.9);
Tailwind
colors: {
  custom: {
    50: '#d18cac',
    500: '#ba5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba5b8a;
$custom-light: #d18cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5b8a",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 330.316,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.1336,
    "h": 350.9
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#BA5B8A
secondary
#A4CDB9
accent
#D19557
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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