#BA64AB#BA64AB

#BA64AB is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.6% C 0.142 H 334.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA64AB
RGBrgb(186, 100, 171)
HSLhsl(310, 38%, 56%)
HSVhsv(310, 46%, 73%)
CMYKcmyk(0%, 46.2%, 8.1%, 27.1%)
CIE-LABlab(54.55, 44.31, -22.98)
CIE-LCHlch(54.55, 49.92, 332.59°)
OKLaboklab(62.62% 0.1273 -0.0622)
OKLCHoklch(62.62% 0.142 334)
XYZxyz(32.1575, 22.4957, 41.1685)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64AB #64BA73
analogous
#9E64BA #BA64AB #BA6480
triadic
#BA64AB #ABBA64 #64ABBA
tetradic
#BA64AB #BA9E64 #64BA73 #6480BA
square
#BA64AB #BA9E64 #64BA73 #6480BA
split-complementary
#BA64AB #80BA64 #64BA9E
monochromatic
#713266 #9C458C #BA64AB #CD8EC2 #E0B9D9

Accessibility & contrast

On white

3.82
#BA64AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BA64AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64AB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64AB#FFFFFF#000000##000000
##BA64AB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAD
Deuteranopia (green-blind)
#7B87A9
Tritanopia (blue-blind)
#C16980
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba64ab;
/* rgb */ color: rgb(186, 100, 171);
/* oklch */ color: oklch(62.6% 0.142 334.0);
Tailwind
colors: {
  custom: {
    50: '#d093c4',
    500: '#ba64ab',
    950: '#000000',
  },
}
SCSS
$custom: #ba64ab;
$custom-light: #d093c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64ab",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 310.465,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62616,
    "c": 0.1417,
    "h": 334
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#BA64AB
secondary
#ABCFB1
accent
#CE6E59
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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