#BA7797#BA7797

#BA7797 is a light, moderate pink. Relative luminance 0.259; OKLCH L 64.9% C 0.093 H 349.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA7797
RGBrgb(186, 119, 151)
HSLhsl(331, 33%, 60%)
HSVhsv(331, 36%, 73%)
CMYKcmyk(0%, 36%, 18.8%, 27.1%)
CIE-LABlab(57.91, 30.81, -6.30)
CIE-LCHlch(57.91, 31.45, 348.44°)
OKLaboklab(64.92% 0.0917 -0.0163)
OKLCHoklch(64.92% 0.093 349.9)
XYZxyz(32.4328, 25.8690, 32.5571)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7797 #77BA9A
analogous
#BA77B9 #BA7797 #BA7877
triadic
#BA7797 #97BA77 #7797BA
tetradic
#BA7797 #B9BA77 #77BA9A #7877BA
square
#BA7797 #B9BA77 #77BA9A #7877BA
split-complementary
#BA7797 #77BA78 #77B9BA
monochromatic
#793D5A #A25278 #BA7797 #CFA0B6 #E3C8D5

Accessibility & contrast

On white

3.40
#BA7797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA7797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7797
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7797#FFFFFF#000000##000000
##BA77971.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8498
Deuteranopia (green-blind)
#8E8F95
Tritanopia (blue-blind)
#C37582
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7797;
/* rgb */ color: rgb(186, 119, 151);
/* oklch */ color: oklch(64.9% 0.093 349.9);
Tailwind
colors: {
  custom: {
    50: '#d09fb5',
    500: '#ba7797',
    950: '#000000',
  },
}
SCSS
$custom: #ba7797;
$custom-light: #d09fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7797",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 331.343,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.09317,
    "h": 349.9
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#BA7797
secondary
#B9D3C7
accent
#C9965F
background
#FCF9FB
surface
#F9F2F6
border
#D2CCD0
text
#140E11
muted
#827E80

Preview Lab

Preview with #BA7797

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

Preview Lab → · Contrast checker → · Palette generator →

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