#BA5F91#BA5F91

#BA5F91 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 60.8% C 0.131 H 347.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA5F91
RGBrgb(186, 95, 145)
HSLhsl(327, 40%, 55%)
HSVhsv(327, 49%, 73%)
CMYKcmyk(0%, 48.9%, 22%, 27.1%)
CIE-LABlab(52.59, 42.72, -10.75)
CIE-LCHlch(52.59, 44.05, 345.87°)
OKLaboklab(60.83% 0.1279 -0.0282)
OKLCHoklch(60.83% 0.131 347.6)
XYZxyz(29.4535, 20.6702, 29.2211)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5F91 #5FBA88
analogous
#B55FBA #BA5F91 #BA5F63
triadic
#BA5F91 #91BA5F #5F91BA
tetradic
#BA5F91 #BAB55F #5FBA88 #5F63BA
square
#BA5F91 #BAB55F #5FBA88 #5F63BA
split-complementary
#BA5F91 #63BA5F #5FBAB5
monochromatic
#6F3052 #9A4272 #BA5F91 #CC8AAE #DFB5CC

Accessibility & contrast

On white

4.09
#BA5F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA5F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5F91
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5F91#FFFFFF#000000##000000
##BA5F911.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687493
Deuteranopia (green-blind)
#80838F
Tritanopia (blue-blind)
#C55D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba5f91;
/* rgb */ color: rgb(186, 95, 145);
/* oklch */ color: oklch(60.8% 0.131 347.6);
Tailwind
colors: {
  custom: {
    50: '#d18fb1',
    500: '#ba5f91',
    950: '#000000',
  },
}
SCSS
$custom: #ba5f91;
$custom-light: #d18fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5f91",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 327.033,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.131,
    "h": 347.6
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#BA5F91
secondary
#A7CDB9
accent
#D08E58
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140D10
muted
#837D7F

Preview Lab

Preview with #BA5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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