#A6796C#A6796C

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

Color values

HEX#A6796C
RGBrgb(166, 121, 108)
HSLhsl(13, 25%, 54%)
HSVhsv(13, 35%, 65%)
CMYKcmyk(0%, 27.1%, 34.9%, 34.9%)
CIE-LABlab(54.93, 15.76, 14.04)
CIE-LCHlch(54.93, 21.11, 41.70°)
OKLaboklab(61.75% 0.0482 0.036)
OKLCHoklch(61.75% 0.06 36.7)
XYZxyz(25.2708, 22.8659, 17.2670)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6796C #6C99A6
analogous
#A66C7C #A6796C #A6966C
triadic
#A6796C #6CA679 #796CA6
tetradic
#A6796C #7CA66C #6C99A6 #966CA6
square
#A6796C #7CA66C #6C99A6 #966CA6
split-complementary
#A6796C #6CA696 #6C7CA6
monochromatic
#5E4239 #855C50 #A6796C #BD9C92 #D4BEB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6796C#FFFFFF#000000##000000
##A6796C1.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)
#837E6B
Deuteranopia (green-blind)
#8E876C
Tritanopia (blue-blind)
#B17376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a6796c;
/* rgb */ color: rgb(166, 121, 108);
/* oklch */ color: oklch(61.7% 0.060 36.7);
Tailwind
colors: {
  custom: {
    50: '#c2a096',
    500: '#a6796c',
    950: '#000000',
  },
}
SCSS
$custom: #a6796c;
$custom-light: #c2a096;
$custom-dark: #000000;
JSON
{
  "hex": "#a6796c",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 13.448,
    "s": 24.576,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.06009,
    "h": 36.7
  },
  "luminance": 0.22864
}

Semantic roles & 50–950 ramp

primary
#A6796C
secondary
#AABEC3
accent
#ADC167
background
#FCF9F9
surface
#F8F2F1
border
#D1CCCB
text
#120E0D
muted
#817E7E

Preview Lab

Preview with #A6796C

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

Preview Lab → · Contrast checker → · Palette generator →

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