#BA5C8F#BA5C8F

#BA5C8F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.3% C 0.135 H 348.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA5C8F
RGBrgb(186, 92, 143)
HSLhsl(327, 41%, 55%)
HSVhsv(327, 51%, 73%)
CMYKcmyk(0%, 50.5%, 23.1%, 27.1%)
CIE-LABlab(51.93, 43.96, -10.56)
CIE-LCHlch(51.93, 45.21, 346.49°)
OKLaboklab(60.31% 0.1319 -0.0277)
OKLCHoklch(60.31% 0.135 348.2)
XYZxyz(29.0356, 20.0789, 28.3277)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5C8F #5CBA87
analogous
#B65CBA #BA5C8F #BA5C60
triadic
#BA5C8F #8FBA5C #5C8FBA
tetradic
#BA5C8F #BAB65C #5CBA87 #5C60BA
square
#BA5C8F #BAB65C #5CBA87 #5C60BA
split-complementary
#BA5C8F #60BA5C #5CBAB6
monochromatic
#6D2E50 #984070 #BA5C8F #CC87AD #DEB2CA

Accessibility & contrast

On white

4.19
#BA5C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BA5C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5C8F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5C8F#FFFFFF#000000##000000
##BA5C8F1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657291
Deuteranopia (green-blind)
#7E828D
Tritanopia (blue-blind)
#C55A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5c8f;
/* rgb */ color: rgb(186, 92, 143);
/* oklch */ color: oklch(60.3% 0.135 348.2);
Tailwind
colors: {
  custom: {
    50: '#d18daf',
    500: '#ba5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba5c8f;
$custom-light: #d18daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5c8f",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 327.447,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.13481,
    "h": 348.2
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#BA5C8F
secondary
#A5CDB7
accent
#D08F57
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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