#BA8AAA#BA8AAA

#BA8AAA is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.0% C 0.072 H 339.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BA8AAA
RGBrgb(186, 138, 170)
HSLhsl(320, 26%, 64%)
HSVhsv(320, 26%, 73%)
CMYKcmyk(0%, 25.8%, 8.6%, 27.1%)
CIE-LABlab(62.94, 23.47, -9.68)
CIE-LCHlch(62.94, 25.39, 337.57°)
OKLaboklab(68.97% 0.0678 -0.0257)
OKLCHoklch(68.97% 0.072 339.3)
XYZxyz(36.5935, 31.5197, 42.1787)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8AAA #8ABA9A
analogous
#B28ABA #BA8AAA #BA8A92
triadic
#BA8AAA #AABA8A #8AAABA
tetradic
#BA8AAA #BAB28A #8ABA9A #8A92BA
square
#BA8AAA #BAB28A #8ABA9A #8A92BA
split-complementary
#BA8AAA #92BA8A #8ABAB2
monochromatic
#7F4B6D #A3648E #BA8AAA #D1B0C6 #E7D7E2

Accessibility & contrast

On white

2.88
#BA8AAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BA8AAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8AAA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8AAA#FFFFFF#000000##000000
##BA8AAA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AB
Deuteranopia (green-blind)
#979BA9
Tritanopia (blue-blind)
#C08B95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba8aaa;
/* rgb */ color: rgb(186, 138, 170);
/* oklch */ color: oklch(69.0% 0.072 339.3);
Tailwind
colors: {
  custom: {
    50: '#cfacc3',
    500: '#ba8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba8aaa;
$custom-light: #cfacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8aaa",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 320,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68966,
    "c": 0.07246,
    "h": 339.3
  },
  "luminance": 0.31518
}

Semantic roles & 50–950 ramp

primary
#BA8AAA
secondary
#C7D8CD
accent
#A46241
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#141012
muted
#827F81

Preview Lab

Preview with #BA8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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