#BA5C97#BA5C97

#BA5C97 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.6% C 0.140 H 343.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA5C97
RGBrgb(186, 92, 151)
HSLhsl(322, 41%, 55%)
HSVhsv(322, 51%, 73%)
CMYKcmyk(0%, 50.5%, 18.8%, 27.1%)
CIE-LABlab(52.21, 45.15, -14.86)
CIE-LCHlch(52.21, 47.54, 341.78°)
OKLaboklab(60.62% 0.1343 -0.0394)
OKLCHoklch(60.62% 0.14 343.6)
XYZxyz(29.6633, 20.3301, 31.6339)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5C97 #5CBA7F
analogous
#AE5CBA #BA5C97 #BA5C68
triadic
#BA5C97 #97BA5C #5C97BA
tetradic
#BA5C97 #BAAE5C #5CBA7F #5C68BA
square
#BA5C97 #BAAE5C #5CBA7F #5C68BA
split-complementary
#BA5C97 #68BA5C #5CBAAE
monochromatic
#6D2E56 #984078 #BA5C97 #CC87B2 #DEB2CE

Accessibility & contrast

On white

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

On black

5.07
#BA5C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5C97
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5C97#FFFFFF#000000##000000
##BA5C971.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#C45C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5c97;
/* rgb */ color: rgb(186, 92, 151);
/* oklch */ color: oklch(60.6% 0.140 343.6);
Tailwind
colors: {
  custom: {
    50: '#d18db5',
    500: '#ba5c97',
    950: '#000000',
  },
}
SCSS
$custom: #ba5c97;
$custom-light: #d18db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5c97",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 322.34,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.13993,
    "h": 343.6
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#BA5C97
secondary
#A5CDB4
accent
#D08457
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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