#BA797E#BA797E

#BA797E is a light, moderate red. Relative luminance 0.256; OKLCH L 64.5% C 0.082 H 14.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA797E
RGBrgb(186, 121, 126)
HSLhsl(355, 32%, 60%)
HSVhsv(355, 35%, 73%)
CMYKcmyk(0%, 34.9%, 32.3%, 27.1%)
CIE-LABlab(57.68, 26.06, 7.82)
CIE-LCHlch(57.68, 27.21, 16.71°)
OKLaboklab(64.51% 0.0791 0.0206)
OKLCHoklch(64.51% 0.082 14.6)
XYZxyz(30.8540, 25.6223, 23.0552)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA797E #79BAB5
analogous
#BA799E #BA797E #BA9579
triadic
#BA797E #7EBA79 #797EBA
tetradic
#BA797E #9EBA79 #79BAB5 #9579BA
square
#BA797E #9EBA79 #79BAB5 #9579BA
split-complementary
#BA797E #79BA95 #799EBA
monochromatic
#7A3F43 #A2545A #BA797E #CFA1A5 #E4CACC

Accessibility & contrast

On white

3.43
#BA797E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA797E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA797E#FFFFFF#000000##000000
##BA797E1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85837E
Deuteranopia (green-blind)
#948F7D
Tritanopia (blue-blind)
#C6737B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba797e;
/* rgb */ color: rgb(186, 121, 126);
/* oklch */ color: oklch(64.5% 0.082 14.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0a3',
    500: '#ba797e',
    950: '#000000',
  },
}
SCSS
$custom: #ba797e;
$custom-light: #d0a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba797e",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 355.385,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.08172,
    "h": 14.6
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#BA797E
secondary
#BBD4D2
accent
#ABA23B
background
#FDF9FA
surface
#FAF2F3
border
#D3CCCD
text
#140F0F
muted
#837E7F

Preview Lab

Preview with #BA797E

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

Preview Lab → · Contrast checker → · Palette generator →

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