#BA5C8D#BA5C8D

#BA5C8D is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.2% C 0.134 H 349.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA5C8D
RGBrgb(186, 92, 141)
HSLhsl(329, 41%, 55%)
HSVhsv(329, 51%, 73%)
CMYKcmyk(0%, 50.5%, 24.2%, 27.1%)
CIE-LABlab(51.86, 43.67, -9.48)
CIE-LCHlch(51.86, 44.69, 347.75°)
OKLaboklab(60.24% 0.1313 -0.0247)
OKLCHoklch(60.24% 0.134 349.3)
XYZxyz(28.8854, 20.0189, 27.5368)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5C8D #5CBA89
analogous
#B85CBA #BA5C8D #BA5C5E
triadic
#BA5C8D #8DBA5C #5C8DBA
tetradic
#BA5C8D #BAB85C #5CBA89 #5C5EBA
square
#BA5C8D #BAB85C #5CBA89 #5C5EBA
split-complementary
#BA5C8D #5EBA5C #5CBAB8
monochromatic
#6D2E4F #98406E #BA5C8D #CC87AB #DEB2C9

Accessibility & contrast

On white

4.20
#BA5C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA5C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5C8D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5C8D#FFFFFF#000000##000000
##BA5C8D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66728F
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#C5596E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5c8d;
/* rgb */ color: rgb(186, 92, 141);
/* oklch */ color: oklch(60.2% 0.134 349.3);
Tailwind
colors: {
  custom: {
    50: '#d18dae',
    500: '#ba5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba5c8d;
$custom-light: #d18dae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5c8d",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 328.723,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.13362,
    "h": 349.3
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#BA5C8D
secondary
#A5CDB8
accent
#D09157
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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