#BA8AAB#BA8AAB

#BA8AAB is a light, moderate pink. Relative luminance 0.316; OKLCH L 69.0% C 0.073 H 338.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BA8AAB
RGBrgb(186, 138, 171)
HSLhsl(319, 26%, 64%)
HSVhsv(319, 26%, 73%)
CMYKcmyk(0%, 25.8%, 8.1%, 27.1%)
CIE-LABlab(62.98, 23.64, -10.20)
CIE-LCHlch(62.98, 25.75, 336.66°)
OKLaboklab(69% 0.0681 -0.0271)
OKLCHoklch(69% 0.073 338.3)
XYZxyz(36.6885, 31.5577, 42.6788)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8AAB #8ABA99
analogous
#B18ABA #BA8AAB #BA8A93
triadic
#BA8AAB #ABBA8A #8AABBA
tetradic
#BA8AAB #BAB18A #8ABA99 #8A93BA
square
#BA8AAB #BAB18A #8ABA99 #8A93BA
split-complementary
#BA8AAB #93BA8A #8ABAB1
monochromatic
#7F4B6F #A3648F #BA8AAB #D1B0C7 #E7D7E2

Accessibility & contrast

On white

2.87
#BA8AAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BA8AAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8AAB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8AAB#FFFFFF#000000##000000
##BA8AAB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AC
Deuteranopia (green-blind)
#969BAA
Tritanopia (blue-blind)
#C08B95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba8aab;
/* rgb */ color: rgb(186, 138, 171);
/* oklch */ color: oklch(69.0% 0.073 338.3);
Tailwind
colors: {
  custom: {
    50: '#cfacc4',
    500: '#ba8aab',
    950: '#000000',
  },
}
SCSS
$custom: #ba8aab;
$custom-light: #cfacc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8aab",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 318.75,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.07329,
    "h": 338.3
  },
  "luminance": 0.31556
}

Semantic roles & 50–950 ramp

primary
#BA8AAB
secondary
#C7D8CD
accent
#A46041
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#141012
muted
#827F81

Preview Lab

Preview with #BA8AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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