#BA796B#BA796B

#BA796B is a light, moderate red. Relative luminance 0.252; OKLCH L 64.0% C 0.085 H 32.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA796B
RGBrgb(186, 121, 107)
HSLhsl(11, 36%, 57%)
HSVhsv(11, 42%, 73%)
CMYKcmyk(0%, 34.9%, 42.5%, 27.1%)
CIE-LABlab(57.25, 23.73, 18.17)
CIE-LCHlch(57.25, 29.89, 37.45°)
OKLaboklab(64.04% 0.0714 0.0459)
OKLCHoklch(64.04% 0.085 32.7)
XYZxyz(29.7423, 25.1777, 17.2004)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA796B #6BACBA
analogous
#BA6B84 #BA796B #BAA16B
triadic
#BA796B #6BBA79 #796BBA
tetradic
#BA796B #84BA6B #6BACBA #A16BBA
square
#BA796B #84BA6B #6BACBA #A16BBA
split-complementary
#BA796B #6BBAA1 #6B84BA
monochromatic
#744136 #9E594A #BA796B #CD9F95 #E1C5BE

Accessibility & contrast

On white

3.48
#BA796B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BA796B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA796B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA796B#FFFFFF#000000##000000
##BA796B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88816A
Deuteranopia (green-blind)
#978F6A
Tritanopia (blue-blind)
#C87075
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba796b;
/* rgb */ color: rgb(186, 121, 107);
/* oklch */ color: oklch(64.0% 0.085 32.7);
Tailwind
colors: {
  custom: {
    50: '#d1a095',
    500: '#ba796b',
    950: '#000000',
  },
}
SCSS
$custom: #ba796b;
$custom-light: #d1a095;
$custom-dark: #000000;
JSON
{
  "hex": "#ba796b",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 10.633,
    "s": 36.406,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.08487,
    "h": 32.7
  },
  "luminance": 0.25175
}

Semantic roles & 50–950 ramp

primary
#BA796B
secondary
#B0CBD0
accent
#B8CC5B
background
#FDF9F9
surface
#FAF2F1
border
#D3CCCB
text
#140E0D
muted
#837E7E

Preview Lab

Preview with #BA796B

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

Preview Lab → · Contrast checker → · Palette generator →

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