#BA7AAA#BA7AAA

#BA7AAA is a light, moderate pink. Relative luminance 0.273; OKLCH L 66.1% C 0.102 H 336.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#BA7AAA
RGBrgb(186, 122, 170)
HSLhsl(315, 32%, 60%)
HSVhsv(315, 34%, 73%)
CMYKcmyk(0%, 34.4%, 8.6%, 27.1%)
CIE-LABlab(59.22, 32.34, -15.29)
CIE-LCHlch(59.22, 35.77, 334.70°)
OKLaboklab(66.12% 0.0931 -0.0409)
OKLCHoklch(66.12% 0.102 336.3)
XYZxyz(34.4647, 27.2621, 41.4691)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7AAA #7ABA8A
analogous
#AA7ABA #BA7AAA #BA7A8A
triadic
#BA7AAA #AABA7A #7AAABA
tetradic
#BA7AAA #BAAA7A #7ABA8A #7A8ABA
square
#BA7AAA #BAAA7A #7ABA8A #7A8ABA
split-complementary
#BA7AAA #8ABA7A #7ABAAA
monochromatic
#7A3F6C #A2548F #BA7AAA #CFA2C4 #E4CBDE

Accessibility & contrast

On white

3.25
#BA7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7AAA#FFFFFF#000000##000000
##BA7AAA1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AC
Deuteranopia (green-blind)
#8B92A8
Tritanopia (blue-blind)
#C07C8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba7aaa;
/* rgb */ color: rgb(186, 122, 170);
/* oklch */ color: oklch(66.1% 0.102 336.3);
Tailwind
colors: {
  custom: {
    50: '#d0a1c3',
    500: '#ba7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba7aaa;
$custom-light: #d0a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7aaa",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 315,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.1017,
    "h": 336.3
  },
  "luminance": 0.2726
}

Semantic roles & 50–950 ramp

primary
#BA7AAA
secondary
#BCD4C2
accent
#AA573B
background
#FCFAFC
surface
#F9F3F8
border
#D2CDD1
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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