#BA5D91#BA5D91

#BA5D91 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.5% C 0.134 H 347.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA5D91
RGBrgb(186, 93, 145)
HSLhsl(326, 40%, 55%)
HSVhsv(326, 50%, 73%)
CMYKcmyk(0%, 50%, 22%, 27.1%)
CIE-LABlab(52.19, 43.74, -11.35)
CIE-LCHlch(52.19, 45.19, 345.46°)
OKLaboklab(60.53% 0.131 -0.0298)
OKLCHoklch(60.53% 0.134 347.2)
XYZxyz(29.2756, 20.3145, 29.1618)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5D91 #5DBA86
analogous
#B55DBA #BA5D91 #BA5D62
triadic
#BA5D91 #91BA5D #5D91BA
tetradic
#BA5D91 #BAB55D #5DBA86 #5D62BA
square
#BA5D91 #BAB55D #5DBA86 #5D62BA
split-complementary
#BA5D91 #62BA5D #5DBAB5
monochromatic
#6E2F52 #994172 #BA5D91 #CC88AE #DFB3CB

Accessibility & contrast

On white

4.15
#BA5D91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA5D91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5D91
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5D91#FFFFFF#000000##000000
##BA5D911.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667393
Deuteranopia (green-blind)
#7E828F
Tritanopia (blue-blind)
#C55B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5d91;
/* rgb */ color: rgb(186, 93, 145);
/* oklch */ color: oklch(60.5% 0.134 347.2);
Tailwind
colors: {
  custom: {
    50: '#d18eb1',
    500: '#ba5d91',
    950: '#000000',
  },
}
SCSS
$custom: #ba5d91;
$custom-light: #d18eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5d91",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 326.452,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.13436,
    "h": 347.2
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#BA5D91
secondary
#A6CDB7
accent
#D08D58
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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