#BA5D97#BA5D97

#BA5D97 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.8% C 0.138 H 343.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA5D97
RGBrgb(186, 93, 151)
HSLhsl(323, 40%, 55%)
HSVhsv(323, 50%, 73%)
CMYKcmyk(0%, 50%, 18.8%, 27.1%)
CIE-LABlab(52.40, 44.65, -14.57)
CIE-LCHlch(52.40, 46.96, 341.93°)
OKLaboklab(60.76% 0.1327 -0.0386)
OKLCHoklch(60.76% 0.138 343.8)
XYZxyz(29.7505, 20.5045, 31.6630)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5D97 #5DBA80
analogous
#AF5DBA #BA5D97 #BA5D68
triadic
#BA5D97 #97BA5D #5D97BA
tetradic
#BA5D97 #BAAF5D #5DBA80 #5D68BA
square
#BA5D97 #BAAF5D #5DBA80 #5D68BA
split-complementary
#BA5D97 #68BA5D #5DBAAF
monochromatic
#6E2F56 #994178 #BA5D97 #CC88B3 #DFB3CE

Accessibility & contrast

On white

4.12
#BA5D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BA5D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5D97
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5D97#FFFFFF#000000##000000
##BA5D971.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647399
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#C45D73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba5d97;
/* rgb */ color: rgb(186, 93, 151);
/* oklch */ color: oklch(60.8% 0.138 343.8);
Tailwind
colors: {
  custom: {
    50: '#d18eb5',
    500: '#ba5d97',
    950: '#000000',
  },
}
SCSS
$custom: #ba5d97;
$custom-light: #d18eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5d97",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 322.581,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.13825,
    "h": 343.8
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#BA5D97
secondary
#A6CDB5
accent
#D08558
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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