#A6796B#A6796B

#A6796B is a mid, moderate red. Relative luminance 0.228; OKLCH L 61.7% C 0.061 H 38.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A6796B
RGBrgb(166, 121, 107)
HSLhsl(14, 25%, 54%)
HSVhsv(14, 36%, 65%)
CMYKcmyk(0%, 27.1%, 35.5%, 34.9%)
CIE-LABlab(54.91, 15.63, 14.59)
CIE-LCHlch(54.91, 21.38, 43.03°)
OKLaboklab(61.72% 0.0477 0.0373)
OKLCHoklch(61.72% 0.061 38)
XYZxyz(25.2179, 22.8448, 16.9883)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6796B #6B98A6
analogous
#A66B7A #A6796B #A6966B
triadic
#A6796B #6BA679 #796BA6
tetradic
#A6796B #7AA66B #6B98A6 #966BA6
square
#A6796B #7AA66B #6B98A6 #966BA6
split-complementary
#A6796B #6BA696 #6B7AA6
monochromatic
#5E4139 #845C50 #A6796B #BD9C91 #D4BEB7

Accessibility & contrast

On white

3.77
#A6796B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A6796B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6796B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6796B#FFFFFF#000000##000000
##A6796B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847E6A
Deuteranopia (green-blind)
#8E876B
Tritanopia (blue-blind)
#B17275
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a6796b;
/* rgb */ color: rgb(166, 121, 107);
/* oklch */ color: oklch(61.7% 0.061 38.0);
Tailwind
colors: {
  custom: {
    50: '#c2a095',
    500: '#a6796b',
    950: '#000000',
  },
}
SCSS
$custom: #a6796b;
$custom-light: #c2a095;
$custom-dark: #000000;
JSON
{
  "hex": "#a6796b",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 14.237,
    "s": 24.895,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.06056,
    "h": 38
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#A6796B
secondary
#AABDC3
accent
#ACC166
background
#FCF9F9
surface
#F8F2F1
border
#D1CCCB
text
#120E0D
muted
#817E7E

Preview Lab

Preview with #A6796B

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

Preview Lab → · Contrast checker → · Palette generator →

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