#BA7BA3#BA7BA3

#BA7BA3 is a light, moderate pink. Relative luminance 0.272; OKLCH L 66.0% C 0.094 H 341.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#BA7BA3
RGBrgb(186, 123, 163)
HSLhsl(322, 31%, 61%)
HSVhsv(322, 34%, 73%)
CMYKcmyk(0%, 33.9%, 12.4%, 27.1%)
CIE-LABlab(59.21, 30.58, -11.29)
CIE-LCHlch(59.21, 32.59, 339.74°)
OKLaboklab(66.03% 0.0893 -0.0299)
OKLCHoklch(66.03% 0.094 341.5)
XYZxyz(33.9435, 27.2511, 38.1153)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BA3 #7BBA92
analogous
#B17BBA #BA7BA3 #BA7B83
triadic
#BA7BA3 #A3BA7B #7BA3BA
tetradic
#BA7BA3 #BAB17B #7BBA92 #7B83BA
square
#BA7BA3 #BAB17B #7BBA92 #7B83BA
split-complementary
#BA7BA3 #83BA7B #7BBAB1
monochromatic
#7B4065 #A35586 #BA7BA3 #CFA3BF #E4CBDB

Accessibility & contrast

On white

3.26
#BA7BA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#BA7BA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BA3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BA3#FFFFFF#000000##000000
##BA7BA31.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A5
Deuteranopia (green-blind)
#8D92A1
Tritanopia (blue-blind)
#C17C89
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba7ba3;
/* rgb */ color: rgb(186, 123, 163);
/* oklch */ color: oklch(66.0% 0.094 341.5);
Tailwind
colors: {
  custom: {
    50: '#d0a2be',
    500: '#ba7ba3',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ba3;
$custom-light: #d0a2be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ba3",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 321.905,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.09419,
    "h": 341.5
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#BA7BA3
secondary
#BCD4C5
accent
#AA643B
background
#FCFAFB
surface
#F9F3F6
border
#D2CDD0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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