#BA7BAD#BA7BAD

#BA7BAD is a light, moderate pink. Relative luminance 0.276; OKLCH L 66.4% C 0.102 H 334.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BA7BAD
RGBrgb(186, 123, 173)
HSLhsl(312, 31%, 61%)
HSVhsv(312, 34%, 73%)
CMYKcmyk(0%, 33.9%, 7%, 27.1%)
CIE-LABlab(59.55, 32.32, -16.51)
CIE-LCHlch(59.55, 36.29, 332.95°)
OKLaboklab(66.41% 0.0924 -0.0443)
OKLCHoklch(66.41% 0.103 334.4)
XYZxyz(34.8752, 27.6237, 43.0220)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BAD #7BBA88
analogous
#A77BBA #BA7BAD #BA7B8D
triadic
#BA7BAD #ADBA7B #7BADBA
tetradic
#BA7BAD #BAA77B #7BBA88 #7B8DBA
square
#BA7BAD #BAA77B #7BBA88 #7B8DBA
split-complementary
#BA7BAD #8DBA7B #7BBAA7
monochromatic
#7B406E #A35593 #BA7BAD #CFA3C6 #E4CBDF

Accessibility & contrast

On white

3.22
#BA7BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BA7BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BAD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BAD#FFFFFF#000000##000000
##BA7BAD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AAF
Deuteranopia (green-blind)
#8A93AB
Tritanopia (blue-blind)
#C07E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba7bad;
/* rgb */ color: rgb(186, 123, 173);
/* oklch */ color: oklch(66.4% 0.102 334.4);
Tailwind
colors: {
  custom: {
    50: '#d0a2c5',
    500: '#ba7bad',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bad;
$custom-light: #d0a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bad",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 312.381,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.1025,
    "h": 334.4
  },
  "luminance": 0.27622
}

Semantic roles & 50–950 ramp

primary
#BA7BAD
secondary
#BCD4C1
accent
#AA523B
background
#FCFAFC
surface
#F9F3F8
border
#D2CDD1
text
#140F13
muted
#827F82

Preview Lab

Preview with #BA7BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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