#BA5C8A#BA5C8A

#BA5C8A is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.1% C 0.132 H 351.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA5C8A
RGBrgb(186, 92, 138)
HSLhsl(331, 41%, 55%)
HSVhsv(331, 51%, 73%)
CMYKcmyk(0%, 50.5%, 25.8%, 27.1%)
CIE-LABlab(51.76, 43.24, -7.85)
CIE-LCHlch(51.76, 43.95, 349.71°)
OKLaboklab(60.13% 0.1304 -0.0203)
OKLCHoklch(60.13% 0.132 351.1)
XYZxyz(28.6652, 19.9308, 26.3771)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5C8A #5CBA8C
analogous
#BA5CB9 #BA5C8A #BA5D5C
triadic
#BA5C8A #8ABA5C #5C8ABA
tetradic
#BA5C8A #B9BA5C #5CBA8C #5D5CBA
square
#BA5C8A #B9BA5C #5CBA8C #5D5CBA
split-complementary
#BA5C8A #5CBA5D #5CB9BA
monochromatic
#6D2E4D #98406B #BA5C8A #CC87A9 #DEB2C8

Accessibility & contrast

On white

4.21
#BA5C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA5C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5C8A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5C8A#FFFFFF#000000##000000
##BA5C8A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#67718C
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#C6586D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5c8a;
/* rgb */ color: rgb(186, 92, 138);
/* oklch */ color: oklch(60.1% 0.132 351.1);
Tailwind
colors: {
  custom: {
    50: '#d18dac',
    500: '#ba5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba5c8a;
$custom-light: #d18dac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5c8a",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 330.638,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.13195,
    "h": 351.1
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#BA5C8A
secondary
#A5CDB9
accent
#D09557
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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