#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 |
|---|---|
| RGB | rgb(166, 121, 108) |
| HSL | hsl(13, 25%, 54%) |
| HSV | hsv(13, 35%, 65%) |
| CMYK | cmyk(0%, 27.1%, 34.9%, 34.9%) |
| CIE-LAB | lab(54.93, 15.76, 14.04) |
| CIE-LCH | lch(54.93, 21.11, 41.70°) |
| OKLab | oklab(61.75% 0.0482 0.036) |
| OKLCH | oklch(61.75% 0.06 36.7) |
| XYZ | xyz(25.2708, 22.8659, 17.2670) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pinkish Brown
#B17261
ΔE00 4.45
Reddish Grey
#997570
ΔE00 4.54
Brownish
#9C6D57
ΔE00 5.88
Brownish Pink
#C27E79
ΔE00 7.68
Clay
#B66A50
ΔE00 8.08
Rosybrown
#BC8F8F
ΔE00 9.59
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 |
|---|---|---|---|---|
| ##A6796C | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.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