#BA8BB2#BA8BB2

#BA8BB2 is a light, moderate pink. Relative luminance 0.321; OKLCH L 69.4% C 0.078 H 332.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BA8BB2
RGBrgb(186, 139, 178)
HSLhsl(310, 25%, 64%)
HSVhsv(310, 25%, 73%)
CMYKcmyk(0%, 25.3%, 4.3%, 27.1%)
CIE-LABlab(63.44, 24.36, -13.46)
CIE-LCHlch(63.44, 27.83, 331.06°)
OKLaboklab(69.43% 0.0689 -0.036)
OKLCHoklch(69.43% 0.078 332.4)
XYZxyz(37.5176, 32.1199, 46.3343)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BB2 #8BBA93
analogous
#AA8BBA #BA8BB2 #BA8B9A
triadic
#BA8BB2 #B2BA8B #8BB2BA
tetradic
#BA8BB2 #BAAA8B #8BBA93 #8B9ABA
square
#BA8BB2 #BAAA8B #8BBA93 #8B9ABA
split-complementary
#BA8BB2 #9ABA8B #8BBAAA
monochromatic
#7F4C76 #A36599 #BA8BB2 #D1B1CB #E8D8E5

Accessibility & contrast

On white

2.83
#BA8BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BA8BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BB2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BB2#FFFFFF#000000##000000
##BA8BB21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B4
Deuteranopia (green-blind)
#959CB0
Tritanopia (blue-blind)
#BE8D98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba8bb2;
/* rgb */ color: rgb(186, 139, 178);
/* oklch */ color: oklch(69.4% 0.078 332.4);
Tailwind
colors: {
  custom: {
    50: '#cfadc9',
    500: '#ba8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bb2;
$custom-light: #cfadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bb2",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 310.213,
    "s": 25.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69434,
    "c": 0.07772,
    "h": 332.4
  },
  "luminance": 0.32119
}

Semantic roles & 50–950 ramp

primary
#BA8BB2
secondary
#C8D9CB
accent
#A45242
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#141013
muted
#827F82

Preview Lab

Preview with #BA8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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