#BA6AAA#BA6AAA

#BA6AAA is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.5% C 0.130 H 334.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA6AAA
RGBrgb(186, 106, 170)
HSLhsl(312, 37%, 57%)
HSVhsv(312, 43%, 73%)
CMYKcmyk(0%, 43%, 8.6%, 27.1%)
CIE-LABlab(55.74, 41.00, -20.58)
CIE-LCHlch(55.74, 45.87, 333.34°)
OKLaboklab(63.49% 0.118 -0.0555)
OKLCHoklch(63.49% 0.13 334.8)
XYZxyz(32.6593, 23.6513, 40.8673)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6AAA #6ABA7A
analogous
#A26ABA #BA6AAA #BA6A82
triadic
#BA6AAA #AABA6A #6AAABA
tetradic
#BA6AAA #BAA26A #6ABA7A #6A82BA
square
#BA6AAA #BAA26A #6ABA7A #6A82BA
split-complementary
#BA6AAA #82BA6A #6ABAA2
monochromatic
#743667 #9E498D #BA6AAA #CD94C2 #E1BEDA

Accessibility & contrast

On white

3.67
#BA6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#BA6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6AAA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6AAA#FFFFFF#000000##000000
##BA6AAA1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#C16E82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba6aaa;
/* rgb */ color: rgb(186, 106, 170);
/* oklch */ color: oklch(63.5% 0.130 334.8);
Tailwind
colors: {
  custom: {
    50: '#d097c3',
    500: '#ba6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba6aaa;
$custom-light: #d097c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6aaa",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 312,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63493,
    "c": 0.13041,
    "h": 334.8
  },
  "luminance": 0.23649
}

Semantic roles & 50–950 ramp

primary
#BA6AAA
secondary
#B0D0B6
accent
#CD725B
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81

Preview Lab

Preview with #BA6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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