#BA64AA#BA64AA

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

Color values

HEX#BA64AA
RGBrgb(186, 100, 170)
HSLhsl(311, 38%, 56%)
HSVhsv(311, 46%, 73%)
CMYKcmyk(0%, 46.2%, 8.6%, 27.1%)
CIE-LABlab(54.51, 44.14, -22.47)
CIE-LCHlch(54.51, 49.53, 333.03°)
OKLaboklab(62.57% 0.1271 -0.0607)
OKLCHoklch(62.57% 0.141 334.5)
XYZxyz(32.0625, 22.4577, 40.6684)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64AA #64BA74
analogous
#9F64BA #BA64AA #BA647F
triadic
#BA64AA #AABA64 #64AABA
tetradic
#BA64AA #BA9F64 #64BA74 #647FBA
square
#BA64AA #BA9F64 #64BA74 #647FBA
split-complementary
#BA64AA #7FBA64 #64BA9F
monochromatic
#713266 #9C458B #BA64AA #CD8EC1 #E0B9D8

Accessibility & contrast

On white

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

On black

5.49
#BA64AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64AA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64AA#FFFFFF#000000##000000
##BA64AA1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAC
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#C1687F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba64aa;
/* rgb */ color: rgb(186, 100, 170);
/* oklch */ color: oklch(62.6% 0.141 334.5);
Tailwind
colors: {
  custom: {
    50: '#d093c3',
    500: '#ba64aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba64aa;
$custom-light: #d093c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64aa",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 311.163,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62573,
    "c": 0.14086,
    "h": 334.5
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#BA64AA
secondary
#ABCFB2
accent
#CE6F59
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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