#BA797A#BA797A

#BA797A is a light, moderate red. Relative luminance 0.255; OKLCH L 64.4% C 0.082 H 18.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA797A
RGBrgb(186, 121, 122)
HSLhsl(359, 32%, 60%)
HSVhsv(359, 35%, 73%)
CMYKcmyk(0%, 34.9%, 34.4%, 27.1%)
CIE-LABlab(57.58, 25.54, 10.00)
CIE-LCHlch(57.58, 27.42, 21.38°)
OKLaboklab(64.41% 0.0775 0.026)
OKLCHoklch(64.41% 0.082 18.6)
XYZxyz(30.6010, 25.5212, 21.7229)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA797A #79BAB9
analogous
#BA799A #BA797A #BA9879
triadic
#BA797A #7ABA79 #797ABA
tetradic
#BA797A #9ABA79 #79BAB9 #9879BA
square
#BA797A #9ABA79 #79BAB9 #9879BA
split-complementary
#BA797A #79BA98 #799ABA
monochromatic
#7A3F40 #A25455 #BA797A #CFA1A2 #E4CACA

Accessibility & contrast

On white

3.44
#BA797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA797A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA797A#FFFFFF#000000##000000
##BA797A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85837A
Deuteranopia (green-blind)
#958F79
Tritanopia (blue-blind)
#C6727A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba797a;
/* rgb */ color: rgb(186, 121, 122);
/* oklch */ color: oklch(64.4% 0.082 18.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0a0',
    500: '#ba797a',
    950: '#000000',
  },
}
SCSS
$custom: #ba797a;
$custom-light: #d0a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba797a",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.077,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64406,
    "c": 0.08175,
    "h": 18.6
  },
  "luminance": 0.25519
}

Semantic roles & 50–950 ramp

primary
#BA797A
secondary
#BBD4D3
accent
#ABA93B
background
#FDF9F9
surface
#FAF2F2
border
#D3CCCC
text
#140F0E
muted
#837E7E

Preview Lab

Preview with #BA797A

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

Preview Lab → · Contrast checker → · Palette generator →

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