#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 |
|---|---|
| RGB | rgb(166, 121, 107) |
| HSL | hsl(14, 25%, 54%) |
| HSV | hsv(14, 36%, 65%) |
| CMYK | cmyk(0%, 27.1%, 35.5%, 34.9%) |
| CIE-LAB | lab(54.91, 15.63, 14.59) |
| CIE-LCH | lch(54.91, 21.38, 43.03°) |
| OKLab | oklab(61.72% 0.0477 0.0373) |
| OKLCH | oklch(61.72% 0.061 38) |
| XYZ | xyz(25.2179, 22.8448, 16.9883) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pinkish Brown
#B17261
ΔE00 4.39
Reddish Grey
#997570
ΔE00 4.83
Brownish
#9C6D57
ΔE00 5.60
Clay
#B66A50
ΔE00 7.89
Brownish Pink
#C27E79
ΔE00 7.94
Adobe
#BD6C48
ΔE00 9.74
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 |
|---|---|---|---|---|
| ##A6796B | 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)
#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