#BA79AA#BA79AA

#BA79AA is a light, moderate pink. Relative luminance 0.270; OKLCH L 65.9% C 0.104 H 336.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BA79AA
RGBrgb(186, 121, 170)
HSLhsl(315, 32%, 60%)
HSVhsv(315, 35%, 73%)
CMYKcmyk(0%, 34.9%, 8.6%, 27.1%)
CIE-LABlab(58.99, 32.89, -15.63)
CIE-LCHlch(58.99, 36.41, 334.58°)
OKLaboklab(65.95% 0.0947 -0.0418)
OKLCHoklch(65.95% 0.104 336.2)
XYZxyz(34.3426, 27.0178, 41.4284)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79AA #79BA89
analogous
#A979BA #BA79AA #BA7989
triadic
#BA79AA #AABA79 #79AABA
tetradic
#BA79AA #BAA979 #79BA89 #7989BA
square
#BA79AA #BAA979 #79BA89 #7989BA
split-complementary
#BA79AA #89BA79 #79BAA9
monochromatic
#7A3F6B #A2548F #BA79AA #CFA1C4 #E4CADD

Accessibility & contrast

On white

3.28
#BA79AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#BA79AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79AA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79AA#FFFFFF#000000##000000
##BA79AA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A88AC
Deuteranopia (green-blind)
#8A91A8
Tritanopia (blue-blind)
#C07B8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba79aa;
/* rgb */ color: rgb(186, 121, 170);
/* oklch */ color: oklch(65.9% 0.104 336.2);
Tailwind
colors: {
  custom: {
    50: '#d0a1c3',
    500: '#ba79aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba79aa;
$custom-light: #d0a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79aa",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 314.769,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.10352,
    "h": 336.2
  },
  "luminance": 0.27016
}

Semantic roles & 50–950 ramp

primary
#BA79AA
secondary
#BBD4C1
accent
#AB563B
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140F12
muted
#827E81

Preview Lab

Preview with #BA79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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